From c4a73785d133c9ad329cff1653b23ba75a4e213d Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Tue, 9 Feb 2010 10:15:51 +0100 Subject: [PATCH] Fix "gnt-instance rename" functionality MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 91e0748c (Unify the β--no-ip-checkβ option) broke the options variable name for β--no-ip-checkβ but since we don't have a QA test for instance rename (only burnin test), this was not caught until Issue 86 was opened. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- scripts/gnt-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index 56eb51031..e32d9392a 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -593,7 +593,7 @@ def RenameInstance(opts, args): """ op = opcodes.OpRenameInstance(instance_name=args[0], new_name=args[1], - ignore_ip=opts.ignore_ip) + ignore_ip=not opts.ip_check) SubmitOrSend(op, opts) return 0 -- GitLab