From 701b5448847cbd131344cb2dac70465a8ef5f9a6 Mon Sep 17 00:00:00 2001 From: Juan Antonio Osorio Robles Date: Wed, 15 Feb 2017 10:57:12 +0200 Subject: 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 --- ci/scripts/freeipa_setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ci/scripts/freeipa_setup.sh') diff --git a/ci/scripts/freeipa_setup.sh b/ci/scripts/freeipa_setup.sh index a4a3d665..e699841f 100644 --- a/ci/scripts/freeipa_setup.sh +++ b/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 -- cgit 1.2.3-korg