Anatoly Litovsky has uploaded a new change for review.

Change subject: Add boot edit to edit node 
......................................................................

Add boot edit to edit node 

Change-Id: I03d00f3a29d78c05c308abe3a1b3b39017e38496
Signed-off-by: Tolik Litovsky <[email protected]>
---
M tools/edit-node
1 file changed, 19 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/67/36167/1

diff --git a/tools/edit-node b/tools/edit-node
index e2d70af..e2f880c 100755
--- a/tools/edit-node
+++ b/tools/edit-node
@@ -1480,6 +1480,25 @@
 
     parser.add_option_group(m_grp)
 
+    boot_grp = optparse.OptionGroup(parser, ("Install boot parameters"))
+
+    boot_grp.add_option("", "--print-boot-params", action="store_true",
+                     default=False, dest="getbootparams",
+                     help="prints the live cd boot menu"
+                     "to stdout")
+
+    boot_grp.add_option("", "--add-boot-param", action="store", type ="string",
+                     default=False, dest="addbootparam",
+                     help="Adds a new default boot command to the live cd boot 
menu"
+                     "to stdout")
+
+    boot_grp.add_option("", "--delete-boot-param", action="store", type ="int",
+                     default=False, dest="deletebootparam",
+                     help="Deletes a boot menu entry"
+                     "to stdout")
+
+    parser.add_option_group(boot_grp)
+
     setup_logging(parser)
 
     (options, args) = parser.parse_args()


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I03d00f3a29d78c05c308abe3a1b3b39017e38496
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Anatoly Litovsky <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to