linux - Trouble using "virt-install" on ubuntu to create VM, just hangs after displaying initial info -
i'm on ubuntu 14.04 box, , need create vm using "virt-install". have liked use "virt-manager", have ssh shell access. consulted various resources how create disk image , the "virt-install" command line. constructed thought valid command, after submitting it, virt-install emitted couple of lines of output , hung, not doing anything. i've been watching ~30 minutes or now, , nothing appears have happened. tried viewing environment shell, don't know how tell if it's doing anything.
here's i've done far.
i created disk image (all sudo):
fallocate -l 200g /var/lib/libvirt/images/jumphost.img
this returned , appeared allocate disk image.
here's "virt-install" command line, , entire output:
attuser@bl12-kvm-nest:/var/lib/libvirt/images$ sudo virt-install -r 24576 -n opnfv-arno-foreman -f /var/lib/libvirt/images/jumphost.img --cdrom=~/arno.2015.1.0.foreman.iso error error validating install location: checking installer location failed: not find media '~/arno.2015.1.0.foreman.iso'. attuser@bl12-kvm-nest:/var/lib/libvirt/images$ sudo virt-install -r 24576 -n opnfv-arno-foreman -f /var/lib/libvirt/images/jumphost.img --cdrom=$home/arno.2015.1.0.foreman.iso starting install... creating domain... | 0 b 00:00 connected domain opnfv-arno-foreman escape character ^]
the last 2 lines makes seem it's waiting input me, don't know why.
i guess what's happening here virt-install has created vm, , it's trying display information vm, perhaps in graphical view.
i've moved past (hopefully), can run "virt-manager" on vnc connection can use gui manage vms.
Comments
Post a Comment