summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-06-30 11:28:14 -0400
committerTim Rozet <trozet@redhat.com>2016-06-30 11:28:14 -0400
commit76a573494ca775291c24f2b6be1737c06d6c6093 (patch)
tree3ce5177421dd17fd00aa2a32c5d80f404ad02f8c
parent1e1d187d9c64229ddfb97925bb1b46a1754e6cd1 (diff)
Fixes slow ssh to overcloud nodes
JIRA: APEX-191 Change-Id: Ic2e5c464e7f76dbeddc0d10886246a51ab5c6e30 Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xbuild/overcloud-full.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh
index 777fa1c5..171731ff 100755
--- a/build/overcloud-full.sh
+++ b/build/overcloud-full.sh
@@ -55,6 +55,8 @@ done
# upload dpdk rpms but do not install
LIBGUESTFS_BACKEND=direct virt-customize \
--upload ../opnfv-puppet-tripleo.tar.gz:/etc/puppet/modules \
+ --run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
+ --run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
--run-command "cd /etc/puppet/modules && rm -rf tripleo && tar xzf opnfv-puppet-tripleo.tar.gz" \
--run-command "echo 'nf_conntrack_proto_sctp' > /etc/modules-load.d/nf_conntrack_proto_sctp.conf" \
--run-command "mkdir /root/dpdk_rpms" \