Setup FreeIPA to serve DNS in the setup script

This is needed for the overcloud nodes to automatically get their domain
and to autodiscover the FreeIPA server.

Change-Id: I4c055e4b4086b02fa706380f01911f499966dfc1
This commit is contained in:
Juan Antonio Osorio Robles 2017-02-15 10:57:12 +02:00
parent 8424e2140d
commit 701b544884

View File

@ -94,7 +94,9 @@ rm -f /etc/httpd/conf.d/ssl.conf
# Set up FreeIPA # Set up FreeIPA
ipa-server-install -U -r `hostname -d|tr "[a-z]" "[A-Z]"` \ ipa-server-install -U -r `hostname -d|tr "[a-z]" "[A-Z]"` \
-p $DirectoryManagerPassword -a $AdminPassword \ -p $DirectoryManagerPassword -a $AdminPassword \
--hostname `hostname -f` --hostname `hostname -f` \
--ip-address=$FreeIPAIP \
--setup-dns --auto-forwarders --auto-reverse
# Authenticate # Authenticate
echo $AdminPassword | kinit admin echo $AdminPassword | kinit admin