CSIT-597: revert to old style interface naming 70/6870/1
authorEd Kern <ejk@cisco.com>
Wed, 24 May 2017 23:55:27 +0000 (17:55 -0600)
committerEd Kern <ejk@cisco.com>
Wed, 24 May 2017 23:55:27 +0000 (17:55 -0600)
Change-Id: I0ae5295fe0bd046e643df2d2abf2b88f76f3179f
Signed-off-by: Ed Kern <ejk@cisco.com>
resources/tools/testbed-setup/playbooks/01-host-setup.yaml
resources/tools/testbed-setup/playbooks/files/interfaces

index fdf03b2..a543608 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
index 734d8cd..d9514e6 100644 (file)
@@ -6,9 +6,12 @@ auto lo
 iface lo inet loopback
 
 # The primary network interface
-auto {{ ansible_default_ipv4["interface"] }}
-iface {{ ansible_default_ipv4["interface"] }} inet static
+auto br1
+iface br1 inet static
     address {{ ansible_default_ipv4["address"] }}
     netmask {{ ansible_default_ipv4["netmask"] }}
     gateway {{ ansible_default_ipv4["gateway"] }}
     dns-nameservers 199.204.44.24 199.204.47.54
+    bridge_maxwait 0
+    bridge_ports eth0
+    bridge_stp off

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.