From 94e9e1e950e1c154166d8a6a3a869515329c51fc Mon Sep 17 00:00:00 2001
From: Manuel Franceschini <livewire@google.com>
Date: Mon, 9 Aug 2010 17:49:23 +0200
Subject: [PATCH] Add --no-name-check to 'gnt-instance rename' man page

Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 man/gnt-instance.sgml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml
index 60d83158b..2935cf000 100644
--- a/man/gnt-instance.sgml
+++ b/man/gnt-instance.sgml
@@ -1654,6 +1654,7 @@ instance5: 11225
         <cmdsynopsis>
           <command>rename</command>
           <arg>--no-ip-check</arg>
+          <arg>--no-name-check</arg>
           <arg>--submit</arg>
           <arg choice="req"><replaceable>instance</replaceable></arg>
           <arg choice="req"><replaceable>new_name</replaceable></arg>
@@ -1669,6 +1670,14 @@ instance5: 11225
           <option>--no-ip-check</option> option is passed.
         </para>
 
+        <para>
+          The <option>--no-name-check</option> skips the check for the
+          new 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>
           The <option>--submit</option> option is used to send the job to
           the master daemon but not wait for its completion. The job
-- 
GitLab