Disable reverse DNS lookup on the undercloud 23/24523/1
authorDan Radez <dradez@redhat.com>
Thu, 17 Nov 2016 16:21:35 +0000 (11:21 -0500)
committerDan Radez <dradez@redhat.com>
Thu, 17 Nov 2016 16:21:35 +0000 (11:21 -0500)
Change-Id: I02328d7cff977fc55cb325b9714d8a5857c00255
Signed-off-by: Dan Radez <dradez@redhat.com>
build/undercloud.sh

index eaa3b50..a2bb9c6 100755 (executable)
@@ -32,6 +32,8 @@ pushd images > /dev/null
 # add tacker password to python-tripleoclient
 # upload tacker repo and install the client package
 LIBGUESTFS_BACKEND=direct virt-customize \
+    --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 \
     --install "openstack-utils" \
     --install "ceph-common" \