X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fvirl%2Ftopologies%2Fdouble-ring-nested.centos7.virl;h=218851e449ed4f20156dbd25ded1dbab0cacad82;hp=b59d94c0ff2267739752e172a1d02a476614ab70;hb=86186044368819d66b68732d3e28876e7fcf3561;hpb=f8eca5691c63479e5b4c59b5d65456553d4999dd diff --git a/resources/tools/virl/topologies/double-ring-nested.centos7.virl b/resources/tools/virl/topologies/double-ring-nested.centos7.virl index b59d94c0ff..218851e449 100644 --- a/resources/tools/virl/topologies/double-ring-nested.centos7.virl +++ b/resources/tools/virl/topologies/double-ring-nested.centos7.virl @@ -7,14 +7,16 @@ #cloud-config hostname: tg1 -manage_etc_hosts: true +manage_etc_hosts: false nfs_server_scratch: $$NFS_SERVER_SCRATCH$$ nfs_server_common: $$NFS_SERVER_COMMON$$ runcmd: +- hostnamectl set-hostname tg1 - 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 @@ -84,13 +86,15 @@ write_files: #cloud-config hostname: sut1 -manage_etc_hosts: true +manage_etc_hosts: false nfs_server_scratch: $$NFS_SERVER_SCRATCH$$ nfs_server_common: $$NFS_SERVER_COMMON$$ runcmd: +- hostnamectl set-hostname sut1 - 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 @@ -187,13 +191,15 @@ write_files: #cloud-config hostname: sut2 -manage_etc_hosts: true +manage_etc_hosts: false nfs_server_scratch: $$NFS_SERVER_SCRATCH$$ nfs_server_common: $$NFS_SERVER_COMMON$$ runcmd: +- hostnamectl set-hostname sut2 - 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