<div dir="ltr">I actually find I do almost all my VM management inside the virsh command.<div>If the VM appears to exist inside virsh but is in a shut off state then you should try to start it.</div><div><br></div><div>VNC can also be SSH port forwarded (which I have done before).</div><div><br></div><div>Not sure if this will help but this is the command I use to create VMs:</div><div><br></div><div><div>virt-install \</div><div>  --name example \</div><div>  --vcpus=4 \</div><div>  --disk /data/example,size=80 \</div><div>  --ram 2048 \</div><div>  --graphics vnc,password=**********,listen=0.0.0.0,port=15916 \</div><div>  --accelerate \</div><div>  --cdrom /var/kvm/ubuntu-14.04.1-server-amd64-autoinstall.iso \</div><div>  --os-type=linux \</div><div>  --noautoconsole \</div><div>  --network network=default \</div><div>  --boot cdrom,fd,hd,network,menu=off</div></div><div><br></div><div>I also edit the XML file sometimes. Notice I have the autoinstall iso. Basically I went through and created a ks.cfg file after extracting the ISO file to a directory. Then I ran a command like this:</div><div>







<p class=""><span class="">mkisofs -D -r -V "auto install" -cache-inodes -J -l -b isolinux/isolinux.bin -c isolinux/<a href="http://boot.cat">boot.cat</a> -no-emul-boot -boot-load-size 4 -boot-info-table -o /var/kvm/ubuntu-14.04.1-server-amd64-autoinstall.iso /root/serveriso</span></p><p class=""><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 9, 2015 at 10:57 AM, KARR, DAVID <span dir="ltr"><<a href="mailto:dk068x@att.com" target="_blank">dk068x@att.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm a beginner to libvirt and creating VMs, for that matter.  I have a set of specifications for VMs I need to create and log into, but I have to create them on an Ubuntu box that I only have ssh access to.  I won't have desktop GUI access, although I do have dynamic port forwarding, so I can access a browser GUI from my desktop.<br>
<br>
Reading through the libvirt info, I see numerous mentions about using VNC to do additional work, but I won't be able to use VNC (not allowed within our firewall).<br>
<br>
I could use some advice on how to move forward with this.  I've started at <a href="https://help.ubuntu.com/lts/serverguide/libvirt.html" rel="noreferrer" target="_blank">https://help.ubuntu.com/lts/serverguide/libvirt.html</a> for initial information.<br>
<br>
I managed to create a disk image for my first VM, and I believe I created the first VM using an ISO (based on CentOS, I believe), but I'll probably have to rebuild that, because I think I have to configure networks on the VM, which I didn't do on initial creation.  I was confused by the initial results from "virt-install", because it seemed to hang after a second or two (I posted this SO question about this: <a href="http://stackoverflow.com/questions/31302871/trouble-using-virt-install-on-ubuntu-to-create-vm-just-hangs-after-displaying" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/31302871/trouble-using-virt-install-on-ubuntu-to-create-vm-just-hangs-after-displaying</a> ).  The reply from this makes it seem like it was trying to present a GUI for next steps, but I of course never saw that.  The VM appears to exist, but in a "shut off" state.<br>
<br>
_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
</blockquote></div><br></div>