Displaying 3 results from an estimated 3 matches for "nodeinstallscreen".
2011 Aug 08
0
[PATCH] check admin password for upgrade verification
...onfig-setup.py | 1 -
2 files changed, 23 insertions(+), 28 deletions(-)
diff --git a/scripts/ovirt-config-installer.py b/scripts/ovirt-config-installer.py
index 637c64c..7c66676 100644
--- a/scripts/ovirt-config-installer.py
+++ b/scripts/ovirt-config-installer.py
@@ -177,7 +177,7 @@ class NodeInstallScreen:
def current_password_callback(self):
auth = PAM.pam()
auth.start("passwd")
- auth.set_item(PAM.PAM_USER, "root")
+ auth.set_item(PAM.PAM_USER, "admin")
global current_password
current_password = self.current_passw...
2011 Jul 20
0
[PATCH] change restart button label to reboot
...t;
FINISH_BUTTON = "Finish"
INSTALL_BUTTON = "Install"
-RESTART_BUTTON = "Restart"
+REBOOT_BUTTON = "Reboot"
POWEROFF_BUTTON = "Power Off"
CONTINUE_BUTTON = "Continue"
SHELL_BUTTON = "Drop To Shell"
@@ -700,7 +700,7 @@ class NodeInstallScreen:
current_element += 1
buttons = []
if self.__current_page == FINISHED_PAGE:
- buttons.append(["Restart", RESTART_BUTTON])
+ buttons.append(["Reboot", REBOOT_BUTTON])
if self.__current_page != FINIS...
2011 Aug 05
1
[PATCH 1/2] update comparison for presenting dowgrade/upgrade/install/reinstall options
...-installer.py
index ff2ccc8..cacce5e 100644
--- a/scripts/ovirt-config-installer.py
+++ b/scripts/ovirt-config-installer.py
@@ -29,6 +29,7 @@ import dbus
import fcntl
import gudev
import PAM
+import rpm
QUIT_BUTTON = "Quit"
BACK_BUTTON = "Back"
@@ -299,17 +300,16 @@ class NodeInstallScreen:
try:
e_version, e_release = get_installed_version_number()
e_full_ver = e_version + "-" + e_release
- if e_version <= m_version:
- if e_release < m_release:
-...