summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2016-06-16 19:47:49 -0400
committerCole Robinson <crobinso@redhat.com>2016-06-16 19:47:49 -0400
commit5cd1b57852f5b9f96780b7ad54f992ce7b3cdaca (patch)
tree26738f4429c5989673ca92ff29798b2fb9dff4f1
parent6c82b9d1847916537a3cf65e9a41405bddc2af5b (diff)
downloadvirt-manager-5cd1b57852f5b9f96780b7ad54f992ce7b3cdaca.tar.gz
create: customize: Fix inadvertent disk removal on install fail
If the first install attempt fails, then the second attempt succeeds, we were still removing the disk images we created as though the install never succeeded. We need to clear out the cached failed_guest value via the customize dialog callback https://bugzilla.redhat.com/show_bug.cgi?id=1342043
-rw-r--r--virtManager/create.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/virtManager/create.py b/virtManager/create.py
index d9844490..3ee74f8f 100644
--- a/virtManager/create.py
+++ b/virtManager/create.py
@@ -2218,6 +2218,7 @@ class vmmCreate(vmmGObjectUI):
if not self.is_visible():
return
logging.debug("User finished customize dialog, starting install")
+ self._failed_guest = None
guest.update_defaults()
self._start_install(guest)