diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-09-20 15:41:20 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-09-23 12:00:12 -0400 |
commit | a7ba867438760b86ccb6c57e8e2d1a64ef9158e5 (patch) | |
tree | 69d46a93f69652f6e1ea8a4fe0ad3bb221f1897a /install/tools | |
parent | 9fd7fedb766c5da128728b036ebd02157086b6e8 (diff) | |
download | freeipa-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')
-rwxr-xr-x | install/tools/ipa-dns-install | 4 | ||||
-rwxr-xr-x | install/tools/ipa-server-install | 4 | ||||
-rw-r--r-- | install/tools/man/ipa-dns-install.1 | 3 | ||||
-rw-r--r-- | install/tools/man/ipa-server-install.1 | 7 |
4 files changed, 14 insertions, 4 deletions
diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index 3413312a..8fc503e4 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -40,6 +40,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") @@ -153,7 +155,7 @@ def main(): # Create a BIND instance bind = bindinstance.BindInstance(fstore, dm_password) - bind.setup(api.env.host, ip_address, api.env.realm, api.env.domain, dns_forwarders, conf_ntp) + bind.setup(api.env.host, ip_address, api.env.realm, api.env.domain, dns_forwarders, conf_ntp, zonemgr=options.zonemgr) api.Backend.ldap2.connect(bind_dn="cn=Directory Manager", bind_pw=dm_password) bind.create_instance() diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index a62f8af4..d949f44a 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) diff --git a/install/tools/man/ipa-dns-install.1 b/install/tools/man/ipa-dns-install.1 index 4159625d..7aa03223 100644 --- a/install/tools/man/ipa-dns-install.1 +++ b/install/tools/man/ipa-dns-install.1 @@ -37,6 +37,9 @@ A forwarder is a DNS server where queries for a specific non\-resolvable address \fB\-\-noforwarders\fR Do not add any DNS forwarders, send non\-resolvable addresses to the DNS root servers. .TP +\fB\-\-zonemgr\fR +The e\-mail address of the DNS zone manager. Defaults too root@host.domain +.TP \fB\-d\fR, \fB\-\-debug\fR Enable debug logging when more verbose output is needed .TP diff --git a/install/tools/man/ipa-server-install.1 b/install/tools/man/ipa-server-install.1 index 2a69643d..6a948754 100644 --- a/install/tools/man/ipa-server-install.1 +++ b/install/tools/man/ipa-server-install.1 @@ -22,7 +22,7 @@ ipa\-server\-install \- Configure an IPA server .SH "SYNOPSIS" ipa\-server\-install [\fIOPTION\fR]... .SH "DESCRIPTION" -Configures the services needed by an IPA server. This includes setting up a Kerberos Key Distribution Center (KDC) with an LDAP back\-end, configuring Apache, configuring NTP and starting some IPA\-provided services: ipa_kpasswd and ipa_webgui. By default a dogtag-based CA will be configured to issue server certificates. +Configures the services needed by an IPA server. This includes setting up a Kerberos Key Distribution Center (KDC) with an LDAP back\-end, configuring Apache, configuring NTP and starting some IPA\-provided services: ipa_kpasswd and ipa_webgui. By default a dogtag\-based CA will be configured to issue server certificates. .SH "OPTIONS" .TP \fB\-u\fR, \fB\-\-user\fR=\fIDS_USER\fR @@ -47,7 +47,7 @@ The password for the IPA admin user Enable debug logging when more verbose output is needed .TP \fB\-\-selfsign\fR -Configure a self-signed CA instance for issuing server certificates instead of using dogtag for certificates +Configure a self\-signed CA instance for issuing server certificates instead of using dogtag for certificates .TP \fB\-\-hostname\fR=\fIHOST_NAME\fR The fully\-qualified DNS name of this server @@ -71,6 +71,9 @@ the \fB\-\-no\-forwarders\fR option is specified. \fB\-\-no\-forwarders\fR Do not add any DNS forwarders. Root DNS servers will be used instead. .TP +\fB\-\-zonemgr\fR +The e\-mail address of the DNS zone manager. Defaults too root@host.domain +.TP \fB\-\-no\-host\-dns\fR Do not use DNS for hostname lookup during installation .TP |