diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index d8b2eb0fe..413862235 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -104,8 +104,11 @@ def parse_options(): parser.error("You cannot specify a --auto-reverse option together with --no-reverse") if options.unattended: - if not options.forwarders and not options.no_forwarders: - parser.error("You must specify at least one --forwarder option or --no-forwarders option") + if (not options.forwarders + and not options.no_forwarders + and not options.auto_forwarders): + parser.error("You must specify at least one option: " + "--forwarder or --no-forwarders or --auto-forwarders") if options.kasp_db_file and not ipautil.file_exists(options.kasp_db_file): parser.error("File %s does not exist" % options.kasp_db_file)