diff options
author | Petr Spacek <pspacek@redhat.com> | 2015-06-30 22:05:44 +0200 |
---|---|---|
committer | Tomas Babej <tbabej@redhat.com> | 2015-07-07 08:37:15 +0200 |
commit | 8ee975b276d0728130a148b01f9bfc0b77524ae0 (patch) | |
tree | fe45ec08d334a3fa27012ee5e4ffd5bcfdecf96d /install | |
parent | c0271b9c87d175398ccc89a7e044a4460cee5bc6 (diff) | |
download | freeipa-8ee975b276d0728130a148b01f9bfc0b77524ae0.tar.gz freeipa-8ee975b276d0728130a148b01f9bfc0b77524ae0.tar.xz freeipa-8ee975b276d0728130a148b01f9bfc0b77524ae0.zip |
DNSSEC: Detect attempt to install & disable master at the same time.
https://fedorahosted.org/freeipa/ticket/4657
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'install')
-rwxr-xr-x | install/tools/ipa-dns-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index d82799201..3fcda04e7 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -74,6 +74,10 @@ def parse_options(): options, args = parser.parse_args() safe_options = parser.get_safe_opts(options) + if options.dnssec_master and options.disable_dnssec_master: + parser.error("Invalid combination of parameters: --dnssec-master and " + "--disable-dnssec-master") + if options.forwarders and options.no_forwarders: parser.error("You cannot specify a --forwarder option together with --no-forwarders") elif options.reverse_zones and options.no_reverse: |