summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/interfaces/ethernet/node.tag/address/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def
index 3cf32ef7..bc051fa7 100644
--- a/templates/interfaces/ethernet/node.tag/address/node.def
+++ b/templates/interfaces/ethernet/node.tag/address/node.def
@@ -7,6 +7,7 @@ syntax:expression: exec "/opt/vyatta/sbin/valid_address $VAR(@)"
commit:expression: exec "/opt/vyatta/sbin/vyatta-interfaces.pl --valid-addr-commit $VAR(@@) --dev $VAR(../@)"
create: sudo /opt/vyatta/sbin/vyatta-address add $VAR(../@) $VAR(@)
+ sudo /usr/libexec/vyos/conf_mode/host_name.py
delete: sudo /opt/vyatta/sbin/vyatta-address delete $VAR(../@) $VAR(@)