[node-patches] Change in ovirt-node[master]: installer: Don't reboot in dry mode

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Aug 21 16:04:47 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: installer: Don't reboot in dry mode
......................................................................

installer: Don't reboot in dry mode

Change-Id: Idf4c3fe379e65376650f2744ed0825158c450152
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M src/ovirt/node/installer/core/progress_page.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/77/18377/1

diff --git a/src/ovirt/node/installer/core/progress_page.py b/src/ovirt/node/installer/core/progress_page.py
index e8fd514..130bc41 100644
--- a/src/ovirt/node/installer/core/progress_page.py
+++ b/src/ovirt/node/installer/core/progress_page.py
@@ -70,7 +70,7 @@
 
     def on_merge(self, effective_changes):
         if "action.reboot" in effective_changes:
-            utils.system.reboot()
+            self.dry_or(lambda: utils.system.reboot())
 
 
 class InstallerThread(threading.Thread):


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf4c3fe379e65376650f2744ed0825158c450152
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