CSIT-648 Installation of lxc on physical hosts
[csit.git] / resources / tools / testbed-setup / playbooks / 01-host-setup.yaml
index 93b2246..ff68821 100644 (file)
     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
     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