From 0745c5d0f96f572a3780b32a3f2dce4f3512c396 Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Aug 11 2016 13:33:35 +0000 Subject: Don't show --force-ntpd option in replica install Always run the client installation script with --no-ntp option so that it does not show the message about --force-ntpd option that does not exist in ipa-replica-install. The time synchronization is done elsewhere anyway. https://fedorahosted.org/freeipa/ticket/6046 Reviewed-By: Martin Basti --- diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py index 9d05a0b..f54ff7d 100644 --- a/ipaserver/install/server/replicainstall.py +++ b/ipaserver/install/server/replicainstall.py @@ -881,7 +881,7 @@ def install(installer): try: args = [paths.IPA_CLIENT_INSTALL, "--on-master", "--unattended", "--domain", config.domain_name, "--server", config.host_name, - "--realm", config.realm_name] + "--realm", config.realm_name, "--no-ntp"] if options.no_dns_sshfp: args.append("--no-dns-sshfp") if options.ssh_trust_dns: @@ -918,7 +918,7 @@ def ensure_enrolled(installer): try: installer._enrollment_performed = True - args = [paths.IPA_CLIENT_INSTALL, "--unattended"] + args = [paths.IPA_CLIENT_INSTALL, "--unattended", "--no-ntp"] stdin = None if installer.domain_name: