Revision c4b6c29c scripts/gnt-node
b/scripts/gnt-node | ||
---|---|---|
61 | 61 |
"on the target machine (%s) with the ones of the current one\n" |
62 | 62 |
"and grant full intra-cluster ssh root access to/from it\n" % node) |
63 | 63 |
|
64 |
bootstrap.SetupNodeDaemon(node) |
|
64 |
bootstrap.SetupNodeDaemon(node, opts.ssh_key_check)
|
|
65 | 65 |
|
66 | 66 |
op = opcodes.OpAddNode(node_name=args[0], secondary_ip=opts.secondary_ip, |
67 | 67 |
readd=opts.readd) |
... | ... | |
314 | 314 |
make_option("--readd", dest="readd", |
315 | 315 |
default=False, action="store_true", |
316 | 316 |
help="Readd old node after replacing it"), |
317 |
make_option("--no-ssh-key-check", dest="ssh_key_check", |
|
318 |
default=True, action="store_false", |
|
319 |
help="Disable SSH key fingerprint checking"), |
|
317 | 320 |
], |
318 |
"[-s ip] [--readd] <node_name>", "Add a node to the cluster"), |
|
321 |
"[-s ip] [--readd] [--no-ssh-key-check] <node_name>", |
|
322 |
"Add a node to the cluster"), |
|
319 | 323 |
'evacuate': (EvacuateNode, ARGS_FIXED(2), |
320 | 324 |
[DEBUG_OPT, FORCE_OPT], |
321 | 325 |
"[-f] <src> <dst>", |
Also available in: Unified diff