summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-05-06 10:51:25 -0700
committerhagbard <vyosdev@derith.de>2019-05-06 10:51:25 -0700
commit6a91f381b534f1513c5a6b6dd5392819791371ab (patch)
treea583e456314f48e83769f32d6845f6787d292373 /templates
parent08a27c62b16e4560e4a47eafd281176e924bbe51 (diff)
downloadvyatta-cfg-system-6a91f381b534f1513c5a6b6dd5392819791371ab.tar.gz
vyatta-cfg-system-6a91f381b534f1513c5a6b6dd5392819791371ab.zip
[interfaces-vif] T1367 - VIF deletion fails inconsistently
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def
index b3f3e7c7..21a10350 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/mtu/node.def
@@ -6,4 +6,4 @@ syntax:expression: $VAR(@) >= 68 && $VAR(@) <= 9000; "MTU must be between 68 and
update: sudo ip link set $VAR(../../@).$VAR(../@) mtu $VAR(@)
delete: [ -d /sys/class/net/$VAR(../../@).$VAR(../@) ] || exit 0
- sudo ip link set $VAR(../../@).$VAR(../@) mtu 1500
+ sudo ip link set $VAR(../../@).$VAR(../@) mtu `cat /sys/class/net/$VAR(../../@)/mtu`