Browse Source

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
changes/51/434151/3
Juan Antonio Osorio Robles 5 years ago
parent
commit
701b544884
  1. 4
      ci/scripts/freeipa_setup.sh

4
ci/scripts/freeipa_setup.sh

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

Loading…
Cancel
Save