Revision 75f2ff7d lib/client/gnt_cluster.py

b/lib/client/gnt_cluster.py
974 974
          opts.ipolicy_std_specs is not None or
975 975
          opts.ipolicy_disk_templates is not None or
976 976
          opts.ipolicy_vcpu_ratio is not None or
977
          opts.ipolicy_spindle_ratio is not None):
977
          opts.ipolicy_spindle_ratio is not None or
978
          opts.modify_etc_hosts is not None):
978 979
    ToStderr("Please give at least one of the parameters.")
979 980
    return 1
980 981

  
......
1079 1080
    ipolicy=ipolicy,
1080 1081
    candidate_pool_size=opts.candidate_pool_size,
1081 1082
    maintain_node_health=mnh,
1083
    modify_etc_hosts=opts.modify_etc_hosts,
1082 1084
    uid_pool=uid_pool,
1083 1085
    add_uids=add_uids,
1084 1086
    remove_uids=remove_uids,
......
1597 1599
     RESERVED_LVS_OPT, DRY_RUN_OPT, PRIORITY_OPT, PREALLOC_WIPE_DISKS_OPT,
1598 1600
     NODE_PARAMS_OPT, USE_EXTERNAL_MIP_SCRIPT, DISK_PARAMS_OPT, HV_STATE_OPT,
1599 1601
     DISK_STATE_OPT, SUBMIT_OPT, ENABLED_DISK_TEMPLATES_OPT,
1600
     IPOLICY_STD_SPECS_OPT] + INSTANCE_POLICY_OPTS,
1602
     IPOLICY_STD_SPECS_OPT, MODIFY_ETCHOSTS_OPT] + INSTANCE_POLICY_OPTS,
1601 1603
    "[opts...]",
1602 1604
    "Alters the parameters of the cluster"),
1603 1605
  "renew-crypto": (

Also available in: Unified diff