[node-patches] Change in ovirt-node[master]: Should use get_cmdline_args() to get kernel args

hadong0720 at gmail.com hadong0720 at gmail.com
Wed May 21 07:27:51 UTC 2014


hadong has uploaded a new change for review.

Change subject: Should use get_cmdline_args() to get kernel args
......................................................................

Should use get_cmdline_args() to get kernel args

Change-Id: If13e42c0626e6787e52ec0a5a9a13e9202d76287
Bug-Url:https://bugzilla.redhat.com/show_bug.cgi?id=1099768
Signed-off-by: hadong <hadong at redhat.com>
---
M scripts/ovirt-auto-install.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/56/27956/1

diff --git a/scripts/ovirt-auto-install.py b/scripts/ovirt-auto-install.py
index 7e180eb..604fa80 100755
--- a/scripts/ovirt-auto-install.py
+++ b/scripts/ovirt-auto-install.py
@@ -256,7 +256,7 @@
     TransactionProgress(tx, is_dry=False).run()
     print "Installation and Configuration Completed"
 
-    reboot_delay = kernel_cmdline_arguments().get("reboot_delay", None)
+    reboot_delay = get_cmdline_args().get("reboot_delay", None)
     if reboot_delay:
         print "Reboot Scheduled in %s seconds later" % reboot_delay
         time.sleep(int(reboot_delay))


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If13e42c0626e6787e52ec0a5a9a13e9202d76287
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <hadong0720 at gmail.com>



More information about the node-patches mailing list