Document variable MAC support to gnt-instance.
authorAlexander Schreiber <als@google.com>
Fri, 28 Dec 2007 10:05:49 +0000 (10:05 +0000)
committerAlexander Schreiber <als@google.com>
Fri, 28 Dec 2007 10:05:49 +0000 (10:05 +0000)
Document the ability to set and change the MAC address for instances.

Reviewed-by: iustinp

man/gnt-instance.sgml

index c7ac8ef..7487502 100644 (file)
@@ -68,6 +68,7 @@
           <sbr>
           <arg>-o <replaceable>os-type</replaceable></arg>
           <arg>-b <replaceable>bridge</replaceable></arg>
+          <arg>--mac <replaceable>MAC-address</replaceable></arg>
           <sbr>
           <arg choice="req">-t<group>
               <arg>diskless</arg>
         </para>
 
         <para>
+          The <option>--mac</option> option specifies the MAC address
+          of the ethernet interface for the instance. If this option
+          is not specified, a new MAC address is generated randomly with
+          the configured MAC prefix. The randomly generated MAC
+          address is guaranteed to be unique among the instances of
+          this cluster.
+        </para>
+
+        <para>
           The <option>-t</option> options specifies the disk layout type for
           the instance. The available choices are:
           <variablelist>
           <arg choice="opt">-p <replaceable>vcpus</replaceable></arg>
           <arg choice="opt">-i <replaceable>ip</replaceable></arg>
           <arg choice="opt">-b <replaceable>bridge</replaceable></arg>
+          <arg chioce="opt">--mac <replaceable>MAC-address</replaceable></arg>
           <arg choice="req"><replaceable>instance</replaceable></arg>
         </cmdsynopsis>
 
         <para>
-          Modify the memory size, number of vcpus, ip address and/or bridge
-          for an instance.
+          Modify the memory size, number of vcpus, ip address, MAC
+          address and/or bridge for an instance.
         </para>
 
         <para>