Revision cf62a272

b/lib/constants.py
84 84

  
85 85
# common exit codes
86 86
EXIT_NOTMASTER = 11
87

  
88
# others
89
DEFAULT_BRIDGE = "xen-br0"
b/scripts/gnt-cluster
202 202
                        default="xenvg",),
203 203
            make_option("-b", "--bridge", dest="def_bridge",
204 204
                        help="Specify the default bridge name (cluster-wide)"
205
                        " to connect the instances to [xen-br0]",
205
                          " to connect the instances to [%s]" %
206
                          constants.DEFAULT_BRIDGE,
206 207
                        metavar="BRIDGE",
207
                        default="xen-br0",),
208
                        default=constants.DEFAULT_BRIDGE,),
208 209
            make_option("--master-netdev", dest="master_netdev",
209 210
                        help="Specify the node interface (cluster-wide)"
210
                        " on which the master IP address will be added "
211
                        " [xen-br0]",
211
                          " on which the master IP address will be added "
212
                          " [%s]" % constants.DEFAULT_BRIDGE,
212 213
                        metavar="NETDEV",
213
                        default="xen-br0",),
214
                        default=constants.DEFAULT_BRIDGE,),
214 215
            ],
215 216
           "[opts...] <cluster_name>",
216 217
           "Initialises a new cluster configuration"),

Also available in: Unified diff