From 1d65264b1937c2394405a70547e4fb5ac7c3f5ef Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 14 Dec 2009 17:56:57 +0100
Subject: [PATCH] Doc updates for --no-name-check

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
---
 man/gnt-instance.sgml | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml
index ea92bf1b7..d56a242d0 100644
--- a/man/gnt-instance.sgml
+++ b/man/gnt-instance.sgml
@@ -78,6 +78,10 @@
             <arg>-s <replaceable>SIZE</replaceable></arg>
           </group>
           <sbr>
+          <arg>--no-ip-check</arg>
+          <arg>--no-name-check</arg>
+          <arg>--no-start</arg>
+          <sbr>
           <group>
             <arg rep="repeat">--net=<replaceable>N</replaceable><arg rep="repeat">:options</arg></arg>
             <arg>--no-nics</arg>
@@ -146,6 +150,28 @@
           2:size=100G</userinput>.
         </para>
 
+        <para>
+          The <option>--no-ip-check</option> skips the checks that are
+          done to see if the instance's IP is not already alive
+          (i.e. reachable from the master node).
+        </para>
+
+        <para>
+          The <option>--no-name-check</option> skips the check for the
+          instance name via the resolver (e.g. in DNS or /etc/hosts,
+          depending on your setup). Since the name check is used to
+          compute the IP address, if you pass this option you must
+          also pass the <option>--no-ip-check</option> option.
+        </para>
+
+        <para>
+          If you don't wat the instance to automatically start after
+          creation, this is possible via the
+          <option>--no-start</option> option. This will leave the
+          instance down until a subsequent <command>gnt-instance
+          start</command> command.
+        </para>
+
         <para>
           The NICs of the instances can be specified via the
           <option>--net</option> option. By default, one NIC is
@@ -769,6 +795,14 @@
                 command for details.</simpara>
               </listitem>
             </varlistentry>
+            <varlistentry>
+              <term>name_check</term>
+              <listitem>
+                <simpara>Skip the name check for instances;
+                see the description in the <command>add</command>
+                command for details.</simpara>
+              </listitem>
+            </varlistentry>
             <varlistentry>
               <term>file_storage_dir, file_driver</term>
               <listitem>
-- 
GitLab