From 29fc6636de5ff3136b56daa7c4b8e49e49b1bd18 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Thu, 16 Oct 2008 13:35:15 +0000
Subject: [PATCH] OS Design: invert new and old name

Internally in ganeti we already have renamed the instance, so it's
better to pass the new name in INSTANCE_NAME and the old one in
OLD_INSTANCE_NAME rather than the old name in INSTANCE_NAME and the new
one in NEW_INSTANCE_NAME as this reflects what the cluster thinks.

Reviewed-by: iustinp
---
 doc/design-2.0-os-interface.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/design-2.0-os-interface.rst b/doc/design-2.0-os-interface.rst
index 30a3bdd9e..3122cc771 100644
--- a/doc/design-2.0-os-interface.rst
+++ b/doc/design-2.0-os-interface.rst
@@ -160,8 +160,8 @@ page. All these variables will be available to all scripts.
 Some scripts will need a few more information to work. These will have
 per-script variables, such as for example:
 
-NEW_INSTANCE_NAME
-  rename: the name the instance should be renamed to.
+OLD_INSTANCE_NAME
+  rename: the name the instance should be renamed from.
 EXPORT_NODE
   import/export: node where the export should be saved to or sourced from.
 EXPORT_PATH
-- 
GitLab