From f6fed3c54742bbfcc4d8bb6433c5965ca61fd989 Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Wed, 12 Sep 2012 09:19:26 -0400 Subject: Add --no-ssh option to ipa-client-install to disable OpenSSH client configuration. If both --no-ssh and --no-sshd are specified, do not configure the SSH service in SSSD. ticket 3070 --- install/tools/ipa-replica-install | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install/tools/ipa-replica-install') diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index 41e1ef575..267a70d8b 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -68,6 +68,8 @@ def parse_options(): default=True, help="Do not automatically redirect to the Web UI") basic_group.add_option("--ssh-trust-dns", dest="trust_sshfp", default=False, action="store_true", help="configure OpenSSH client to trust DNS SSHFP records") + basic_group.add_option("--no-ssh", dest="conf_ssh", default=True, action="store_false", + help="do not configure OpenSSH client") basic_group.add_option("--no-sshd", dest="conf_sshd", default=True, action="store_false", help="do not configure OpenSSH server") basic_group.add_option("--skip-conncheck", dest="skip_conncheck", action="store_true", @@ -500,6 +502,8 @@ def main(): args.append("--no-dns-sshfp") if options.trust_sshfp: args.append("--ssh-trust-dns") + if not options.conf_ssh: + args.append("--no-ssh") if not options.conf_sshd: args.append("--no-sshd") ipautil.run(args) -- cgit