summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-replica-install
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-11-10 15:16:38 +0100
committerRob Crittenden <rcritten@redhat.com>2010-01-21 17:09:21 -0500
commit7aa78ee06018286efd3f6517a12249e2267536eb (patch)
tree3747974065c61e7f366af444a835b79a45067d6f /install/tools/ipa-replica-install
parent686203c0743736028283a8a18c46a19e6f8dd57c (diff)
downloadfreeipa-7aa78ee06018286efd3f6517a12249e2267536eb.tar.gz
freeipa-7aa78ee06018286efd3f6517a12249e2267536eb.tar.xz
freeipa-7aa78ee06018286efd3f6517a12249e2267536eb.zip
Only add an NTP SRV record if we really are setting up NTP
The sample bind zone file that is generated if we don't use --setup-dns is also changed. Fixes #500238
Diffstat (limited to 'install/tools/ipa-replica-install')
-rwxr-xr-xinstall/tools/ipa-replica-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install
index 7131d6b76..af7128cf4 100755
--- a/install/tools/ipa-replica-install
+++ b/install/tools/ipa-replica-install
@@ -219,7 +219,8 @@ def install_bind(config, options):
forwarders = ()
bind = bindinstance.BindInstance(dm_password=config.dirman_password)
ip_address = resolve_host(config.host_name)
- bind.setup(config.host_name, ip_address, config.realm_name, config.domain_name, forwarders)
+ bind.setup(config.host_name, ip_address, config.realm_name,
+ config.domain_name, forwarders, options.conf_ntp)
bind.create_instance()
def check_dirsrv():