Commit 6174860c authored by Iustin Pop's avatar Iustin Pop

Add the -s option in the output of 'gnt-node'

Since on dual-homed clusters one always needs to add '-s' to the
gnt-node add command, make this appear in the output of 'gnt-node' (when
run without arguments).

Reviewed-by: imsnah
parent 3bd5f059
...@@ -280,7 +280,7 @@ commands = { ...@@ -280,7 +280,7 @@ commands = {
make_option("-s", "--secondary-ip", dest="secondary_ip", make_option("-s", "--secondary-ip", dest="secondary_ip",
help="Specify the secondary ip for the node", help="Specify the secondary ip for the node",
metavar="ADDRESS", default=None),], metavar="ADDRESS", default=None),],
"<node_name>", "Add a node to the cluster"), "[-s] <node_name>", "Add a node to the cluster"),
'evacuate': (EvacuateNode, ARGS_FIXED(2), 'evacuate': (EvacuateNode, ARGS_FIXED(2),
[DEBUG_OPT, FORCE_OPT], [DEBUG_OPT, FORCE_OPT],
"[-f] <src_node> <dst_node>", "[-f] <src_node> <dst_node>",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment