Revision 09bf5d24 tools/sanitize-config

b/tools/sanitize-config
33 33
from ganeti import constants
34 34
from ganeti import serializer
35 35
from ganeti import utils
36
from ganeti import pathutils
36 37
from ganeti import cli
37 38
from ganeti.cli import cli_option
38 39

  
......
40 41
OPTS = [
41 42
  cli.VERBOSE_OPT,
42 43
  cli_option("--path", help="Convert this configuration file"
43
             " instead of '%s'" % constants.CLUSTER_CONF_FILE,
44
             default=constants.CLUSTER_CONF_FILE, dest="CONFIG_DATA_PATH"),
44
             " instead of '%s'" % pathutils.CLUSTER_CONF_FILE,
45
             default=pathutils.CLUSTER_CONF_FILE, dest="CONFIG_DATA_PATH"),
45 46
  cli_option("--sanitize-names", default="yes", type="bool",
46 47
             help="Randomize the cluster, node and instance names [yes]"),
47 48
  cli_option("--sanitize-ips", default="yes", type="bool",

Also available in: Unified diff