Joey Boggs has uploaded a new change for review. Change subject: add --shell option to edit-node ......................................................................
add --shell option to edit-node Change-Id: Ia71b39a9e90f91a84cbbdd676a58ad254a28582a Signed-off-by: Joey Boggs <[email protected]> --- M tools/edit-node 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/34/18834/1 diff --git a/tools/edit-node b/tools/edit-node index 84f177c..455c78d 100755 --- a/tools/edit-node +++ b/tools/edit-node @@ -1418,6 +1418,10 @@ help="specify script to run chrooted in the LiveOS " "fsimage") + parser.add_option("--shell", action="store_true", default=False, + dest="shell", + help="Open shell for editing") + parser.add_option("-w", "--passwd", action="extend", dest="password", help="comma delimited list of user and " "encrypted password") @@ -1674,6 +1678,10 @@ editor._change_uid(options) if not options.gidmod is None: editor._change_gid(options) + if options.shell: + print "Launching shell. Exit to continue." + print "----------------------------------" + editor.launch_shell() if rebuild == 1: editor._update_version(options) editor._minimize() -- To view, visit http://gerrit.ovirt.org/18834 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia71b39a9e90f91a84cbbdd676a58ad254a28582a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Joey Boggs <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
