diff options
author | Jan Cholasta <jcholast@redhat.com> | 2012-09-12 09:19:26 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-09-13 13:13:48 +0200 |
commit | f6fed3c54742bbfcc4d8bb6433c5965ca61fd989 (patch) | |
tree | b3da9f8d4e801e3122a03a8c449fbc7f136162d0 /install/tools/ipa-replica-install | |
parent | 8728d3145f4c2f7bd1fed8c75f33f9ed7df555d2 (diff) | |
download | freeipa-f6fed3c54742bbfcc4d8bb6433c5965ca61fd989.tar.gz freeipa-f6fed3c54742bbfcc4d8bb6433c5965ca61fd989.tar.xz freeipa-f6fed3c54742bbfcc4d8bb6433c5965ca61fd989.zip |
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
Diffstat (limited to 'install/tools/ipa-replica-install')
-rwxr-xr-x | install/tools/ipa-replica-install | 4 |
1 files changed, 4 insertions, 0 deletions
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) |