summaryrefslogtreecommitdiffstats
path: root/install/tools
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-01-31 18:05:07 +0100
committerRob Crittenden <rcritten@redhat.com>2011-01-31 22:15:45 -0500
commit0dce1bc9e13d54f223b45d44e9a2108c995cd455 (patch)
treef78480e135867977b1dea0c22217a2c209fc1c39 /install/tools
parenta7e89190fae68633ecfe0c0d8c5d7702b123c0fd (diff)
downloadfreeipa-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/tools')
-rwxr-xr-xinstall/tools/ipa-replica-prepare6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/tools/ipa-replica-prepare b/install/tools/ipa-replica-prepare
index 38d31aa60..aaa1f2dc6 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: