Revision c89db623
b/lib/cli.py | ||
---|---|---|
116 | 116 |
"MASTER_NETMASK_OPT", |
117 | 117 |
"MC_OPT", |
118 | 118 |
"MIGRATION_MODE_OPT", |
119 |
"MODIFY_ETCHOSTS_OPT", |
|
119 | 120 |
"NET_OPT", |
120 | 121 |
"NETWORK_OPT", |
121 | 122 |
"NETWORK6_OPT", |
... | ... | |
1306 | 1307 |
help="Don't modify %s" % pathutils.ETC_HOSTS, |
1307 | 1308 |
action="store_false", default=True) |
1308 | 1309 |
|
1310 |
MODIFY_ETCHOSTS_OPT = \ |
|
1311 |
cli_option("--modify-etc-hosts", dest="modify_etc_hosts", metavar=_YORNO, |
|
1312 |
default=None, type="bool", |
|
1313 |
help="Defines whether the cluster should autonomously modify" |
|
1314 |
" and keep in sync the /etc/hosts file of the nodes") |
|
1315 |
|
|
1309 | 1316 |
NOMODIFY_SSH_SETUP_OPT = cli_option("--no-ssh-init", dest="modify_ssh_setup", |
1310 | 1317 |
help="Don't initialize SSH keys", |
1311 | 1318 |
action="store_false", default=True) |
Also available in: Unified diff