From b8f31860f23100bac2c448db43d0ce142568cc6a Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 10 Jun 2009 17:37:51 +0200 Subject: [PATCH] Fix gnt-instance reinstall Commit 55efe6dabe48e5c37dc1ff6099e0bb8afde7a468 "Convert instance reinstall to multi instance model" actually broke instance reinstall for single-instance cases. This one-liner fixes it. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> (cherry picked from commit b6e243ab010d1df2b6c211b9edc9fe1978e52391) --- scripts/gnt-instance | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gnt-instance b/scripts/gnt-instance index cde22bf58..3e8ce3f35 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -554,7 +554,7 @@ def ReinstallInstance(opts, args): else: if not opts.force: usertext = ("This will reinstall the instance %s and remove" - " all data. Continue?") % instance_name + " all data. Continue?") % inames[0] if not AskUser(usertext): return 1 -- GitLab