mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
create: Only reboot VM if it had an install phase
This commit is contained in:
parent
7cb08a640a
commit
b2c95375a3
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user