Joey Boggs has uploaded a new change for review.

Change subject: block installation is hostvg is detected and force reboot
......................................................................

block installation is hostvg is detected and force reboot

rhbz#880938

Change-Id: If9f11b4a104e912567bffc81380d8598c45662a1
Signed-off-by: Joey Boggs <[email protected]>
---
M scripts/ovirt-config-installer.py
1 file changed, 3 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/55/9755/1

diff --git a/scripts/ovirt-config-installer.py 
b/scripts/ovirt-config-installer.py
index 0ebcf62..ac41b93 100644
--- a/scripts/ovirt-config-installer.py
+++ b/scripts/ovirt-config-installer.py
@@ -1024,12 +1024,11 @@
                                 if check_existing_hostvg(""):
                                     self.screen.setColor("BUTTON", "black", 
"red")
                                     self.screen.setColor("ACTBUTTON", "blue", 
"white")
-                                    msg = "Existing HostVG Detected on %s, 
Overwrite?" % check_existing_hostvg("")
-                                    warn = ButtonChoiceWindow(self.screen, 
"HostVG Check", msg)
+                                    msg = "Existing HostVG Detected on %s, 
Please reboot from media and choose Reinstall" % check_existing_hostvg("")
+                                    warn = ButtonChoiceWindow(self.screen, 
"HostVG Check", msg, buttons = ['Reboot'])
                                     self.reset_screen_colors()
                                     if warn != "ok":
-                                        self.__current_page = 
HOSTVG_STORAGE_PAGE
-                                        augtool("set", "/files/" + 
OVIRT_DEFAULTS + "/OVIRT_INIT", '"' + self.storage_init + "," + hostvg_list + 
'"')
+                                        self.exit_stop_boot_and_run("reboot")
                                 else:
                                     self.__current_page = STORAGE_VOL_PAGE
                     elif self.__current_page == OTHER_DEVICE_HOSTVG_PAGE:


--
To view, visit http://gerrit.ovirt.org/9755
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If9f11b4a104e912567bffc81380d8598c45662a1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to