[node-patches] Change in ovirt-node[master]: Add boot edit to edit node
tlitovsk at redhat.com
tlitovsk at redhat.com
Mon Dec 15 11:49:15 UTC 2014
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 <tlitovsk at redhat.com>
---
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 <tlitovsk at redhat.com>
More information about the node-patches
mailing list