Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-648 Installation of lxc on physical hosts
[csit.git]
/
resources
/
tools
/
testbed-setup
/
playbooks
/
01-host-setup.yaml
diff --git
a/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
b/resources/tools/testbed-setup/playbooks/01-host-setup.yaml
index
93b2246
..
ff68821
100644
(file)
--- 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
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
- hosts: virl
remote_user: testuser
sudo: yes
@@
-60,7
+64,7
@@
name: NFS scratch dir garbage collector
minute: 0
hour: 0
name: NFS scratch dir garbage collector
minute: 0
hour: 0
- job: "find /nfs/scratch/ -type d -mtime +1
4 -name 'session-*' -delete
"
+ job: "find /nfs/scratch/ -type d -mtime +1
-name 'session-*' -exec rm -r "{}" \;
"
- hosts: tg:sut
remote_user: testuser
sudo: yes
- 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
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
- name: Disable 80-vpp.conf
command: ln -s /dev/null /etc/sysctl.d/80-vpp.conf