Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix slow ssh login to Centos VIRL hosts.
[csit.git]
/
resources
/
tools
/
virl
/
topologies
/
double-ring-nested.centos7.virl
diff --git
a/resources/tools/virl/topologies/double-ring-nested.centos7.virl
b/resources/tools/virl/topologies/double-ring-nested.centos7.virl
index
b59d94c
..
e5f6d5c
100644
(file)
--- a/
resources/tools/virl/topologies/double-ring-nested.centos7.virl
+++ b/
resources/tools/virl/topologies/double-ring-nested.centos7.virl
@@
-14,7
+14,8
@@
runcmd:
- systemctl start rc-local
- touch /tmp/before-sed
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
- systemctl start rc-local
- touch /tmp/before-sed
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
-- echo "UseDNS no" >> /etc/ssh/sshd_config
+- sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
+- sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/sshd_config
- service ssh restart
- service sshd restart
- ln -s /sbin/lspci /usr/bin/lspci
- service ssh restart
- service sshd restart
- ln -s /sbin/lspci /usr/bin/lspci
@@
-90,7
+91,8
@@
nfs_server_common: $$NFS_SERVER_COMMON$$
runcmd:
- systemctl start rc-local
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
runcmd:
- systemctl start rc-local
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
-- echo "UseDNS no" >> /etc/ssh/sshd_config
+- sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
+- sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/sshd_config
- service ssh restart
- service sshd restart
- sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf
- service ssh restart
- service sshd restart
- sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf
@@
-193,7
+195,8
@@
nfs_server_common: $$NFS_SERVER_COMMON$$
runcmd:
- systemctl start rc-local
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
runcmd:
- systemctl start rc-local
- sed -i 's/^\s*PasswordAuthentication\s\+no/PasswordAuthentication yes/' /etc/ssh/sshd_config
-- echo "UseDNS no" >> /etc/ssh/sshd_config
+- sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
+- sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/sshd_config
- service ssh restart
- service sshd restart
- sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf
- service ssh restart
- service sshd restart
- sed -i 's/no-pci//' /opt/cisco/vpe/etc/qn.conf