diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-01-31 18:05:07 +0100 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-01-31 22:15:45 -0500 |
commit | 0dce1bc9e13d54f223b45d44e9a2108c995cd455 (patch) | |
tree | f78480e135867977b1dea0c22217a2c209fc1c39 /install | |
parent | a7e89190fae68633ecfe0c0d8c5d7702b123c0fd (diff) | |
download | freeipa-0dce1bc9e13d54f223b45d44e9a2108c995cd455.tar.gz freeipa-0dce1bc9e13d54f223b45d44e9a2108c995cd455.tar.xz freeipa-0dce1bc9e13d54f223b45d44e9a2108c995cd455.zip |
Add an address for a nameserver when a new zone is created during install
https://fedorahosted.org/freeipa/ticket/881
Diffstat (limited to 'install')
-rwxr-xr-x | install/tools/ipa-replica-prepare | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install/tools/ipa-replica-prepare b/install/tools/ipa-replica-prepare index 38d31aa6..aaa1f2dc 100755 --- a/install/tools/ipa-replica-prepare +++ b/install/tools/ipa-replica-prepare @@ -28,7 +28,7 @@ from optparse import OptionParser from ipapython import ipautil from ipaserver.install import bindinstance, dsinstance, installutils, certs -from ipaserver.install.bindinstance import add_zone, add_reverze_zone, add_rr, add_ptr_rr +from ipaserver.install.bindinstance import add_zone, add_reverse_zone, add_rr, add_ptr_rr from ipaserver.install.replication import check_replication_plugin from ipaserver.plugins.ldap2 import ldap2 from ipapython import version @@ -417,9 +417,9 @@ def main(): name = domain.pop(0) domain = ".".join(domain) - zone = add_zone(domain) + zone = add_zone(domain, nsaddr=options.ip_address) add_rr(zone, name, "A", options.ip_address) - add_reverze_zone(options.ip_address) + add_reverse_zone(options.ip_address) add_ptr_rr(options.ip_address, replica_fqdn) try: |