summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2012-02-13 15:47:06 -0500
committerCole Robinson <crobinso@redhat.com>2012-02-13 15:47:06 -0500
commitb2c95375a36e8b3b97d77f1740ad64fb521486fb (patch)
tree63b1d58c131f51a2debb30a3d241b61f1f05c6c2
parent7cb08a640a6ec1483ba02734bde7a4bd5730c1fe (diff)
downloadvirt-manager-b2c95375a36e8b3b97d77f1740ad64fb521486fb.tar.gz
create: Only reboot VM if it had an install phase
-rw-r--r--src/virtManager/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/virtManager/create.py b/src/virtManager/create.py
index 98c0b50f..56d4e27e 100644
--- a/src/virtManager/create.py
+++ b/src/virtManager/create.py
@@ -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():