summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-server-install
diff options
context:
space:
mode:
Diffstat (limited to 'install/tools/ipa-server-install')
-rwxr-xr-xinstall/tools/ipa-server-install8
1 files changed, 8 insertions, 0 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index 479894b36..a289941e4 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -132,6 +132,12 @@ def parse_options():
basic_group.add_option("-a", "--admin-password",
sensitive=True, dest="admin_password",
help="admin user kerberos password")
+ basic_group.add_option("--mkhomedir",
+ dest="mkhomedir",
+ action="store_true",
+ default=False,
+ help="create home directories for users "
+ "on their first login")
basic_group.add_option("--hostname", dest="host_name", help="fully qualified name of server")
basic_group.add_option("--ip-address", dest="ip_address",
type="ip", ip_local=True,
@@ -1143,6 +1149,8 @@ def main():
args.append("--no-ssh")
if not options.conf_sshd:
args.append("--no-sshd")
+ if options.mkhomedir:
+ args.append("--mkhomedir")
run(args)
except Exception, e:
sys.exit("Configuration of client side components failed!\nipa-client-install returned: " + str(e))