X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/b8a8fbe114ac0a1df107de71e18ef9a0ec2f450f..b86a6bcd476e420269a24a9b3d6289bebba69442:/scripts/gnt-cluster diff --git a/scripts/gnt-cluster b/scripts/gnt-cluster index 99cab31..6ef9b62 100755 --- a/scripts/gnt-cluster +++ b/scripts/gnt-cluster @@ -110,6 +110,7 @@ def InitCluster(opts, args): hvparams=hvparams, beparams=beparams, candidate_pool_size=opts.candidate_pool_size, + modify_etc_hosts=opts.modify_etc_hosts, ) return 0 @@ -565,6 +566,10 @@ commands = { help="No support for lvm based instances" " (cluster-wide)", action="store_false", default=True,), + make_option("--no-etc-hosts", dest="modify_etc_hosts", + help="Don't modify /etc/hosts" + " (cluster-wide)", + action="store_false", default=True,), make_option("--enabled-hypervisors", dest="enabled_hypervisors", help="Comma-separated list of hypervisors", type="string", default=None),