Signed-off-by: Leno Hou <[email protected]>
---
 virtinst/guest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/virtinst/guest.py b/virtinst/guest.py
index 75e2ea2..e38a2e3 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -358,8 +358,8 @@ class Guest(XMLBuilder):
         if install:
             self.on_reboot = "destroy"
             self.on_crash = "destroy"
-       # on_crash=restart can cause reboot loops on s390x, so use preserve
-       elif self.os.is_s390x():
+        # on_crash=restart can cause reboot loops on s390x, so use preserve
+        elif self.os.is_s390x():
             self.on_crash = "preserve"
 
         self._set_osxml_defaults()
-- 
1.9.1

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to