summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-11-17 11:21:35 -0500
committerDan Radez <dradez@redhat.com>2016-11-22 12:29:09 -0500
commit4f05ece5c264d68b4f3edcbc8dfd9f0138bbea87 (patch)
treeab4bd61080db373ccc51c85f4e28a389389f9973 /build
parentf31bb140ea968d388b0861d487ba5c6606159187 (diff)
Disable reverse DNS lookup on the undercloud
Change-Id: I02328d7cff977fc55cb325b9714d8a5857c00255 Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit 7bf4840aaf71e433824121328b4ec75fcc1dee04)
Diffstat (limited to 'build')
-rwxr-xr-xbuild/undercloud.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index af1b3455..c9d953ca 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -36,6 +36,8 @@ pushd images > /dev/null
# upload tacker repo and install the client package
LIBGUESTFS_BACKEND=direct virt-customize \
--upload ../delorean.repo:/etc/yum.repos.d/ \
+ --run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
+ --run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
--upload ../opnfv-tht.tar.gz:/usr/share \
--run-command "cd /usr/share && rm -rf openstack-tripleo-heat-templates && tar xzf opnfv-tht.tar.gz" \
--run-command "sed -i '/ControllerEnableCephStorage/c\\ ControllerEnableCephStorage: true' /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml" \