X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/4040a7847ecaa9a163a2132c52831fbd38dc92de..26f15862d6dd3ab2ea34de066c8c789a649d70f1:/scripts/gnt-cluster diff --git a/scripts/gnt-cluster b/scripts/gnt-cluster index 09c1eb2..9cd1f52 100755 --- a/scripts/gnt-cluster +++ b/scripts/gnt-cluster @@ -381,7 +381,7 @@ def VerifyDisks(opts, args): if nlvm: for node, text in nlvm.iteritems(): ToStdout("Error on node %s: LVM error: %s", - node, text[-400:].encode('string_escape')) + node, utils.SafeEncode(text[-400:])) retcode |= 1 ToStdout("You need to fix these nodes first before fixing instances") @@ -541,7 +541,7 @@ commands = { help="Specify the mac prefix for the instance IP" " addresses, in the format XX:XX:XX", metavar="PREFIX", - default="aa:00:00",), + default=constants.DEFAULT_MAC_PREFIX,), make_option("-g", "--vg-name", dest="vg_name", help="Specify the volume group name " " (cluster-wide) for disk allocation [xenvg]",