Umm ... I think virsh is what you want, slthough I do not think you understand what I told you about KVM.<br><br>You will need to connect to the Debian installer somehow if you go that route, I am not familiar with it and I am not sure if you can simply boot the iso and then connect to the guest via ssh.<br>
<br>For virsh, since I see your google is broken =)<br><br><a href="http://linux.die.net/man/1/virsh">http://linux.die.net/man/1/virsh</a><br><br><a href="http://prefetch.net/blog/index.php/2009/06/15/migrating-kvm-hosts-with-virsh/">http://prefetch.net/blog/index.php/2009/06/15/migrating-kvm-hosts-with-virsh/</a><br>
<br><a href="http://docs.sun.com/app/docs/doc/819-2450/6n4o5me9j?a=view">http://docs.sun.com/app/docs/doc/819-2450/6n4o5me9j?a=view</a><br><br><a href="http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-9.04-p3">http://www.howtoforge.com/virtualization-with-kvm-on-ubuntu-9.04-p3</a><br>
<br><a href="https://help.ubuntu.com/community/KVM/Managing">https://help.ubuntu.com/community/KVM/Managing</a><br><br>That should certainly get you started.<br><br>As far as running KVM without X I suggest you read man qemu<br>
<br>Or try this blog :<br><br><a href="http://blog.bodhizazen.net/linux/how-to-run-kvm-without-x/">http://blog.bodhizazen.net/linux/how-to-run-kvm-without-x/</a><br><br>with the -vnc flag you can run without X<br><br>-vnc none<br>
<br>or , since you are installing from an iso, -vnc :0 (or what have you) so you may connect to the installer from remote.<br><br>Neither -vnc none or -vnc :0 require X at all on the (host) server or guest (you can connect via vnc to a minimal guest with no X installed on either host or guest).<br>
<br>Happy reading =)<br><br><br><br><div class="gmail_quote">On Fri, Jul 17, 2009 at 10:31 PM, Bodhi Zazen <span dir="ltr"><<a href="mailto:bodhi.zazen@montanalinux.org">bodhi.zazen@montanalinux.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
----- Forwarded Message -----<br>
From: "Keith Edmunds" <<a href="mailto:kae@midnighthax.com">kae@midnighthax.com</a>><br>
To: <a href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a><br>
Sent: Friday, July 17, 2009 3:44:18 PM GMT -07:00 US/Canada Mountain<br>
Subject: [et-mgmt-tools] Running virt-install without X<br>
<br>
New to list. I couldn't find a searchable archive of this ML, so<br>
apologies if this has been asked before (feel free to flame me, but<br>
please include a pointer to where I can find the answer).<br>
<br>
I've been looking at KVM virtualisation recently. I want to use it on a<br>
hosted server without X installed, and I want to be able to create new<br>
(Linux) guests from the command line.<br>
<br>
virt-install lets me kick off an installation, but everything I've tried<br>
so far needs a graphical terminal of some sort to carry out the<br>
text-based (Debian Lenny) installation. Once the installation is<br>
complete, I can use 'virsh' to connect to the serial console and that<br>
works fine.<br>
<br>
I suspect the key is in virt-install's '--nographics' option, but I<br>
can't seem to connect to the console to carry out the installation<br>
after using that option. Can anyone shed some light?<br>
<br>
(Just to be clear: I want to do everything via an ssh session, so no<br>
VNC, etc).<br>
<br>
Thanks,<br>
Keith<br>
<br>
_______________________________________________<br>
et-mgmt-tools mailing list<br>
<a href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools" target="_blank">https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a><br>
</blockquote></div><br>