[node-patches] Change in ovirt-node[master]: add newline to end of reboot cronjob during install/upgrades
jboggs at redhat.com
jboggs at redhat.com
Fri Nov 9 23:18:16 UTC 2012
Joey Boggs has uploaded a new change for review.
Change subject: add newline to end of reboot cronjob during install/upgrades
......................................................................
add newline to end of reboot cronjob during install/upgrades
rhbz#866935
Signed-off-by: Joey Boggs <jboggs at redhat.com>
Change-Id: I1b939493af03ba3b7dbdb4164c5b9e39e6be4f39
---
M scripts/ovirtnode/install.py
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/41/9141/1
diff --git a/scripts/ovirtnode/install.py b/scripts/ovirtnode/install.py
index 15cec4d..c6d1f2b 100755
--- a/scripts/ovirtnode/install.py
+++ b/scripts/ovirtnode/install.py
@@ -492,7 +492,7 @@
_functions.PRODUCT_SHORT)
if reboot is not None and reboot == "Y":
f = open('/var/spool/cron/root', 'w')
- f.write('* * * * * sleep 10 && /sbin/reboot')
+ f.write('* * * * * sleep 10 && /sbin/reboot\n')
f.close()
#ensure crond is started
_functions.subprocess_closefds("crond", shell=True,
--
To view, visit http://gerrit.ovirt.org/9141
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1b939493af03ba3b7dbdb4164c5b9e39e6be4f39
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Joey Boggs <jboggs at redhat.com>
More information about the node-patches
mailing list