Commit 90ed09b0 authored by René Nussbaumer's avatar René Nussbaumer Committed by Iustin Pop
Browse files

Fix a broken commandline switch option

Signed-off-by: default avatarRené Nussbaumer <>
Reviewed-by: default avatarMichael Hanselmann <>
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarIustin Pop <>
parent 58598264
......@@ -621,7 +621,7 @@ def RenameInstance(opts, args):
@return: the desired exit code
if not opts.check_name:
if not opts.name_check:
if not AskUser("As you disabled the check of the DNS entry, please verify"
" that '%s' is a FQDN. Continue?" % args[1]):
return 1
......@@ -629,7 +629,7 @@ def RenameInstance(opts, args):
op = opcodes.OpRenameInstance(instance_name=args[0],
ignore_ip=not opts.ip_check,
SubmitOrSend(op, opts)
return 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment