Revision 3039e2dc lib/client/gnt_cluster.py
b/lib/client/gnt_cluster.py | ||
---|---|---|
996 | 996 |
opts.ipolicy_disk_templates is not None or |
997 | 997 |
opts.ipolicy_vcpu_ratio is not None or |
998 | 998 |
opts.ipolicy_spindle_ratio is not None or |
999 |
opts.modify_etc_hosts is not None): |
|
999 |
opts.modify_etc_hosts is not None or |
|
1000 |
opts.file_storage_dir is not None): |
|
1000 | 1001 |
ToStderr("Please give at least one of the parameters.") |
1001 | 1002 |
return 1 |
1002 | 1003 |
|
... | ... | |
1120 | 1121 |
disk_state=disk_state, |
1121 | 1122 |
enabled_disk_templates=enabled_disk_templates, |
1122 | 1123 |
force=opts.force, |
1124 |
file_storage_dir=opts.file_storage_dir, |
|
1123 | 1125 |
) |
1124 | 1126 |
SubmitOrSend(op, opts) |
1125 | 1127 |
return 0 |
... | ... | |
1626 | 1628 |
NODE_PARAMS_OPT, USE_EXTERNAL_MIP_SCRIPT, DISK_PARAMS_OPT, HV_STATE_OPT, |
1627 | 1629 |
DISK_STATE_OPT] + SUBMIT_OPTS + |
1628 | 1630 |
[ENABLED_DISK_TEMPLATES_OPT, IPOLICY_STD_SPECS_OPT, MODIFY_ETCHOSTS_OPT] + |
1629 |
INSTANCE_POLICY_OPTS, |
|
1631 |
INSTANCE_POLICY_OPTS + [GLOBAL_FILEDIR_OPT],
|
|
1630 | 1632 |
"[opts...]", |
1631 | 1633 |
"Alters the parameters of the cluster"), |
1632 | 1634 |
"renew-crypto": ( |
Also available in: Unified diff