Revision a71f835e man/gnt-instance.rst

b/man/gnt-instance.rst
896 896
by ballooning it up or down to the new value.
897 897

  
898 898
The ``--disk add:size=``*SIZE* option adds a disk to the instance. The
899
optional ``vg=``*VG* option specifies LVM volume group other than
900
default vg to create the disk on. For DRBD disks, the ``metavg=``*VG*
901
option specifies the volume group for the metadata device. The
902
``--disk remove`` option will remove the last disk of the
903
instance. The ``--disk`` *N*``:mode=``*MODE* option will change the
904
mode of the Nth disk of the instance between read-only (``ro``) and
899
optional ``vg=``*VG* option specifies an LVM volume group other than
900
the default volume group to create the disk on. For DRBD disks, the
901
``metavg=``*VG* option specifies the volume group for the metadata
902
device. ``--disk`` *N*``:add,size=``**SIZE** can be used to add a
903
disk at a specific index. The ``--disk remove`` option will remove the
904
last disk of the instance. Use ``--disk ``*N*``:remove`` to remove a
905
disk by its index. The ``--disk`` *N*``:mode=``*MODE* option will change
906
the mode of the Nth disk of the instance between read-only (``ro``) and
905 907
read-write (``rw``).
906 908

  
907
The ``--net add:``*options* option will add a new NIC to the
908
instance. The available options are the same as in the **add** command
909
(mac, ip, link, mode). The ``--net remove`` will remove the last NIC
910
of the instance, while the ``--net`` *N*:*options* option will change
911
the parameters of the Nth instance NIC.
909
The ``--net add:``*options* and ``--net`` *N*``:add,``*options* option
910
will add a new network interface to the instance. The available options
911
are the same as in the **add** command (``mac``, ``ip``, ``link``,
912
``mode``). The ``--net remove`` will remove the last network interface
913
of the instance (``--net`` *N*``:remove`` for a specific index), while
914
the ``--net`` *N*``:``*options* option will change the parameters of the Nth
915
instance network interface.
912 916

  
913 917
The option ``-o (--os-type)`` will change the OS name for the instance
914 918
(without reinstallation). In case an OS variant is specified that is

Also available in: Unified diff