summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/interfaces/ethernet/node.tag/bridge-group/node.def2
-rw-r--r--templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/bridge-group/node.def b/templates/interfaces/ethernet/node.tag/bridge-group/node.def
index 9309f683..fbff9acd 100644
--- a/templates/interfaces/ethernet/node.tag/bridge-group/node.def
+++ b/templates/interfaces/ethernet/node.tag/bridge-group/node.def
@@ -1,6 +1,8 @@
help: Add this interface to a bridge group
create: sudo brctl addif $VAR(./bridge/@) $VAR(../@);
+update:expression: "false"; \
+ "Delete previous bridge group first"
delete: touch /tmp/eth-$VAR(../@)-bridge.$PPID;
diff --git a/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def b/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def
index afd2fc84..7e33b9d5 100644
--- a/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def
+++ b/templates/interfaces/ethernet/node.tag/vif/node.tag/bridge-group/node.def
@@ -1,6 +1,8 @@
help: Add this interface to a bridge group
create: sudo brctl addif $VAR(./bridge/@) $VAR(../../@).$VAR(../@);
+update:expression: "false"; \
+ "Delete previous bridge group first"
delete: touch /tmp/eth-$VAR(../@)-bridge.$PPID;