Support ifup on either end of a veth pair

This commit is contained in:
Mark Goddard 2017-05-25 15:34:02 +01:00
parent d91b83e678
commit e2bb70db95

View File

@ -1,4 +1,6 @@
DEVICE={{ item.peer_device }} DEVICE={{ item.peer_device }}
TYPE=veth
PEER_DEVICE={{ item.device }}
{% if item.peer_bootproto == 'static' %} {% if item.peer_bootproto == 'static' %}
BOOTPROTO=none BOOTPROTO=none
{% if item.peer_address is defined %} {% if item.peer_address is defined %}