commit | b9f4ddf79a8084177724e02e1ce5381b707b6583 | [log] [tgz] |
---|---|---|
author | Dennis Dmitriev <ddmitriev@mirantis.com> | Mon Aug 14 18:21:28 2017 +0300 |
committer | Dennis Dmitriev <dis.xcom@gmail.com> | Mon Aug 14 11:22:41 2017 -0400 |
tree | a38225596dfc360fcc8331a2b1cfdcd0acd92691 | |
parent | 9c94d4e6346419d6d1866642842fed31219bdd5c [diff] |
Configure /etc/network/interface with the right dhcp interface Change-Id: I06c29c8d1369c506eeb27f8ae057f0889f2ac9c4 Reviewed-on: https://review.gerrithub.io/374164 Reviewed-by: Dennis Dmitriev <dis.xcom@gmail.com> Tested-by: Dennis Dmitriev <dis.xcom@gmail.com>
diff --git a/tcp_tests/templates/physical_mcp11_ovs_dpdk/underlay--user-data.yaml b/tcp_tests/templates/physical_mcp11_ovs_dpdk/underlay--user-data.yaml index e1646cd..1141993 100644 --- a/tcp_tests/templates/physical_mcp11_ovs_dpdk/underlay--user-data.yaml +++ b/tcp_tests/templates/physical_mcp11_ovs_dpdk/underlay--user-data.yaml
@@ -69,6 +69,15 @@ ######################################################## write_files: + - path: /etc/network/interfaces + content: | + # The loopback network interface + auto lo + iface lo inet loopback + + auto {interface_name} + iface {interface_name} inet dhcp + - path: /etc/udev/rules.d/70-persistent-net.rules owner: root:root permissions: '0644'