create: Only reboot VM if it had an install phase

This commit is contained in:
Cole Robinson 2012-02-13 15:47:06 -05:00
parent 7cb08a640a
commit b2c95375a3

View File

@ -1951,7 +1951,7 @@ class vmmCreate(vmmGObjectUI):
# Probably means guest had no 'install' phase, as in
# for live cds. Try to restart the domain.
vm.startup()
else:
elif guest.installer.has_install_phase():
# Register a status listener, which will restart the
# guest after the install has finished
def cb():