Revision 90ed09b0 scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
621 | 621 |
@return: the desired exit code |
622 | 622 |
|
623 | 623 |
""" |
624 |
if not opts.check_name:
|
|
624 |
if not opts.name_check:
|
|
625 | 625 |
if not AskUser("As you disabled the check of the DNS entry, please verify" |
626 | 626 |
" that '%s' is a FQDN. Continue?" % args[1]): |
627 | 627 |
return 1 |
... | ... | |
629 | 629 |
op = opcodes.OpRenameInstance(instance_name=args[0], |
630 | 630 |
new_name=args[1], |
631 | 631 |
ignore_ip=not opts.ip_check, |
632 |
check_name=opts.check_name)
|
|
632 |
check_name=opts.name_check)
|
|
633 | 633 |
SubmitOrSend(op, opts) |
634 | 634 |
return 0 |
635 | 635 |
|
Also available in: Unified diff