Commit 04367e70 authored by Guido Trotter's avatar Guido Trotter
Browse files

Drop the -g shortcut for --vg-name

Changing the volume group is a lot less frequent than acting on a node
group. As such we drop the "-g" shortcut and require the long option to
be passed. In 2.3 the commands which used to accept the volume group as
"-g" won't have any node group option, so no confusion will arise. Later
on we may pass "-g" as the initial node group name to gnt-cluster init,
although that's not strictly necessary, as modifying it later is always
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 515d87eb
......@@ -902,7 +902,7 @@ CP_SIZE_OPT = cli_option("-C", "--candidate-pool-size", default=None,
dest="candidate_pool_size", type="int",
help="Set the candidate pool size")
VG_NAME_OPT = cli_option("-g", "--vg-name", dest="vg_name",
VG_NAME_OPT = cli_option("--vg-name", dest="vg_name",
help="Enables LVM and specifies the volume group"
" name (cluster-wide) for disk allocation [xenvg]",
metavar="VG", default=None)
......@@ -226,7 +226,7 @@
<arg>-s <replaceable>secondary_ip</replaceable></arg>
<arg>-g <replaceable>vg-name</replaceable></arg>
<arg>--vg-name <replaceable>vg-name</replaceable></arg>
<arg>--master-netdev <replaceable>interface-name</replaceable></arg>
......@@ -298,7 +298,7 @@
The <option>-g</option> option will let you specify a volume group
The <option>--vg-name</option> option will let you specify a volume group
different than "xenvg" for Ganeti to use when creating instance disks.
This volume group must have the same name on all nodes. Once the
cluster is initialized this can be altered by using the
......@@ -635,7 +635,7 @@
<arg choice="opt">-g <replaceable>vg-name</replaceable></arg>
<arg choice="opt">--vg-name <replaceable>vg-name</replaceable></arg>
<arg choice="opt">--no-lvm-storage</arg>
......@@ -672,7 +672,7 @@
The <option>-g</option>, <option>--no-lvm-storarge</option>,
The <option>--vg-name</option>, <option>--no-lvm-storarge</option>,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment