X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fplaybooks%2F01-host-setup.yaml;h=ff6882194e6c92e36467ec7d0726a8d2efc7dbc0;hp=93b2246ed89fe92cc9fa465bc66f3bc8e7628248;hb=dedafc3c5a32fb8b7ed3583b346eb6c31310005e;hpb=9bbb03e695e3d80b8408a90574e995106ce0cf38 diff --git a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml index 93b2246ed8..ff6882194e 100644 --- a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml +++ b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml @@ -31,6 +31,10 @@ apt: name=socat state=present - name: install qemu apt: name=qemu-system-x86 state=present + - name: Old interface naming + command: ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules + - name: update init for old interface naming + command: update-initramfs -u - hosts: virl remote_user: testuser sudo: yes @@ -60,7 +64,7 @@ name: NFS scratch dir garbage collector minute: 0 hour: 0 - job: "find /nfs/scratch/ -type d -mtime +14 -name 'session-*' -delete" + job: "find /nfs/scratch/ -type d -mtime +1 -name 'session-*' -exec rm -r "{}" \;" - hosts: tg:sut remote_user: testuser sudo: yes @@ -119,5 +123,7 @@ apt: name=libtool state=present - name: Install screen apt: name=screen state=present + - name: Install lxc + apt: name=lxc state=present - name: Disable 80-vpp.conf command: ln -s /dev/null /etc/sysctl.d/80-vpp.conf