No progress durign VM installation using a kickstarter file for Centos 7
Nothing appeared because you ran virt-install
on a terminal which didn't have X display information available, thus it could not start virt-viewer
to show the console of the virtual machine.
Eventually the VM's installation will finish and the VM will power off. At this point, virt-install
will restart the VM and exit itself. You can also hit Ctrl+C to stop virt-install
waiting. Since the VM is still running, the installation will continue, but the VM will remain powered off at the end, rather than rebooting into the newly installed system.
You can also use virt-manager
on your local system to view the VM's console during installation, if virt-manager
has permission to manage the remote hypervisor.
Very very very late to the party, but this was an issue for me so others get it now.
You can fix this issue with adding a --wait 0
command.
WARNING No console to launch for the guest, defaulting to --wait -1
--wait -1 will mean it will wait indefinitely for the installation to complete, so adding wait 0 it will just continue after the setup has completed
Also see the Manual entry below:
--wait WAIT
Amount of time to wait (in minutes) for a VM to complete its install. Without this
option, virt-install will wait for the console to close (not necessarily indicating the
guest has shutdown), or in the case of --noautoconsole, simply kick off the install and
exit. Any negative value will make virt-install wait indefinitely, a value of 0 triggers
the same results as noautoconsole. If the time limit is exceeded, virt-install simply
exits, leaving the virtual machine in its current state.