URL: https://github.com/freeipa/freeipa/pull/102
Author: stlaz
 Title: #102: Updated ipa-client-install info about hostname
Action: opened

PR body:
"""
The man page and help of ipa-client-install had an outdated
information about what is used as a hostname.

https://fedorahosted.org/freeipa/ticket/5754
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/102/head:pr102
git checkout pr102
From c57806437fc577d9220ee7880e2541a5128339ca Mon Sep 17 00:00:00 2001
From: Stanislav Laznicka <slazn...@redhat.com>
Date: Wed, 21 Sep 2016 14:19:55 +0200
Subject: [PATCH] Updated ipa-client-install info about hostname

The man page and help of ipa-client-install had an outdated
information about what is used as a hostname.

https://fedorahosted.org/freeipa/ticket/5754
---
 client/ipa-client-install       | 3 ++-
 client/man/ipa-client-install.1 | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/client/ipa-client-install b/client/ipa-client-install
index 535fe65..5af9fed 100755
--- a/client/ipa-client-install
+++ b/client/ipa-client-install
@@ -136,7 +136,8 @@ def parse_options():
     basic_group.add_option("", "--hostname", dest="hostname",
                       help="The hostname of this machine (FQDN). If specified, the hostname will be set and "
                            "the system configuration will be updated to persist over reboot. "
-                           "By default a nodename result from uname(2) is used.")
+                           "By default the result of getfqdn() call from "
+                           "Python's socket module is used.")
     basic_group.add_option("", "--force-join", dest="force_join",
                       action="store_true", default=False,
                       help="Force client enrollment even if already enrolled")
diff --git a/client/man/ipa-client-install.1 b/client/man/ipa-client-install.1
index 7f490d1..26c9407 100644
--- a/client/man/ipa-client-install.1
+++ b/client/man/ipa-client-install.1
@@ -111,7 +111,7 @@ Path to backed up host keytab from previous enrollment. Joins the host even if i
 Configure PAM to create a users home directory if it does not exist.
 .TP
 \fB\-\-hostname\fR
-The hostname of this machine (FQDN). If specified, the hostname will be set and the system configuration will be updated to persist over reboot. By default a nodename result from uname(2) is used.
+The hostname of this machine (FQDN). If specified, the hostname will be set and the system configuration will be updated to persist over reboot. By default the result of getfqdn() call from Python's socket module is used.
 .TP
 \fB\-\-force\-join\fR
 Join the host even if it is already enrolled.
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to