diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-09-02 16:22:51 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-09-02 16:22:51 +0200 |
commit | 7ba1d3672cf9d7d34135ebec447b4a95766457bb (patch) | |
tree | 907fe40d9ab1549204bffbfe0906ba52d7b68df2 /templates/interfaces | |
parent | 27a1eb2e1d692cf1fd430ec73319b9a6eb0b193f (diff) | |
download | vyatta-cfg-system-7ba1d3672cf9d7d34135ebec447b4a95766457bb.tar.gz vyatta-cfg-system-7ba1d3672cf9d7d34135ebec447b4a95766457bb.zip |
Bug #285 - Cannot delete bond interface with vif
Diffstat (limited to 'templates/interfaces')
-rw-r--r-- | templates/interfaces/bonding/node.tag/vif-s/node.def | 2 | ||||
-rw-r--r-- | templates/interfaces/bonding/node.tag/vif/node.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/interfaces/bonding/node.tag/vif-s/node.def b/templates/interfaces/bonding/node.tag/vif-s/node.def index 64aabe2e..5a2e8dee 100644 --- a/templates/interfaces/bonding/node.tag/vif-s/node.def +++ b/templates/interfaces/bonding/node.tag/vif-s/node.def @@ -15,4 +15,4 @@ create: read -a SLAVES </sys/class/net/$VAR(../@)/bonding/slaves /opt/vyatta/sbin/vyatta-link-detect "$VAR(../@).$VAR(@)" on delete: [ -d /sys/class/net/$VAR(../@).$VAR(@) ] || exit 0 - ip link delete dev ".$VAR(../@).$VAR(@)" type vlan proto 802.1ad id $VAR(@) + ip link delete dev "$VAR(../@).$VAR(@)" type vlan proto 802.1ad id $VAR(@) diff --git a/templates/interfaces/bonding/node.tag/vif/node.def b/templates/interfaces/bonding/node.tag/vif/node.def index 16d5972f..63394e44 100644 --- a/templates/interfaces/bonding/node.tag/vif/node.def +++ b/templates/interfaces/bonding/node.tag/vif/node.def @@ -15,4 +15,4 @@ create: read -a SLAVES </sys/class/net/$VAR(../@)/bonding/slaves /opt/vyatta/sbin/vyatta-link-detect "$VAR(../@).$VAR(@)" on delete: [ -d /sys/class/net/$VAR(../@).$VAR(@) ] || exit 0 - ip link delete dev ".$VAR(../@).$VAR(@)" type vlan id $VAR(@) + ip link delete dev "$VAR(../@).$VAR(@)" type vlan id $VAR(@) |