[node-patches] Change in ovirt-node[master]: installer: Set new password on upgrade
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Thu Mar 7 16:06:02 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: installer: Set new password on upgrade
......................................................................
installer: Set new password on upgrade
Previously a new password was not set on upgrade.
Now a newly given password will be set during upgrade.
Change-Id: I720a799212fa484d5ca4c6385189014a9230e0f2
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/tui/src/ovirt/node/installer/progress_page.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/39/12839/1
diff --git a/scripts/tui/src/ovirt/node/installer/progress_page.py b/scripts/tui/src/ovirt/node/installer/progress_page.py
index 93141a9..88a0e08 100644
--- a/scripts/tui/src/ovirt/node/installer/progress_page.py
+++ b/scripts/tui/src/ovirt/node/installer/progress_page.py
@@ -152,6 +152,9 @@
elif cfg["method"] in ["upgrade", "downgrade", "reinstall"]:
tx.title = "Update"
tx += [self.InstallImageAndBootloader()]
+ new_password = cfg.get("upgrade.password_confirmation", None)
+ if new_password:
+ tx += [self.SetPassword(new_password)]
self.logger.debug("Built transaction: %s" % tx)
--
To view, visit http://gerrit.ovirt.org/12839
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I720a799212fa484d5ca4c6385189014a9230e0f2
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list