diff options
author | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-02-15 10:57:12 +0200 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2017-02-15 15:21:53 +0200 |
commit | 701b5448847cbd131344cb2dac70465a8ef5f9a6 (patch) | |
tree | 0ba6c12edce28327d2ef64c3875195809d988b24 /ci/scripts | |
parent | 8424e2140d25fa7f47b9e8f2be03145f7a26c4a9 (diff) |
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
Diffstat (limited to 'ci/scripts')
-rw-r--r-- | ci/scripts/freeipa_setup.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |