summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-server-install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-09-20 15:41:20 -0400
committerRob Crittenden <rcritten@redhat.com>2010-09-23 12:00:12 -0400
commita7ba867438760b86ccb6c57e8e2d1a64ef9158e5 (patch)
tree69d46a93f69652f6e1ea8a4fe0ad3bb221f1897a /install/tools/ipa-server-install
parent9fd7fedb766c5da128728b036ebd02157086b6e8 (diff)
downloadfreeipa-a7ba867438760b86ccb6c57e8e2d1a64ef9158e5.tar.gz
freeipa-a7ba867438760b86ccb6c57e8e2d1a64ef9158e5.tar.xz
freeipa-a7ba867438760b86ccb6c57e8e2d1a64ef9158e5.zip
Add new DNS install argument for setting the zone mgr e-mail addr.
ticket 125
Diffstat (limited to 'install/tools/ipa-server-install')
-rwxr-xr-xinstall/tools/ipa-server-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index a62f8af4e..d949f44ad 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -96,6 +96,8 @@ def parse_options():
help="Add a DNS forwarder")
parser.add_option("--no-forwarders", dest="no_forwarders", action="store_true",
default=False, help="Do not add any DNS forwarders, use root servers instead")
+ parser.add_option("--zonemgr", dest="zonemgr",
+ help="DNS zone manager e-mail address. Defaults to root")
parser.add_option("-U", "--unattended", dest="unattended", action="store_true",
default=False, help="unattended installation never prompts the user")
parser.add_option("", "--uninstall", dest="uninstall", action="store_true",
@@ -769,7 +771,7 @@ def main():
# Create a BIND instance
bind = bindinstance.BindInstance(fstore, dm_password)
- bind.setup(host_name, ip_address, realm_name, domain_name, dns_forwarders, options.conf_ntp)
+ bind.setup(host_name, ip_address, realm_name, domain_name, dns_forwarders, options.conf_ntp, zonemgr=options.zonemgr)
if options.setup_dns:
api.Backend.ldap2.connect(bind_dn="cn=Directory Manager", bind_pw=dm_password)