summaryrefslogtreecommitdiff
path: root/templates/interfaces
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-03-20 15:21:25 -0700
committerhagbard <vyosdev@derith.de>2019-03-20 15:21:25 -0700
commit16d5cfc8b089f4bf96b689da0abcbc0a0d729f20 (patch)
tree6d15bd2657956241d8f6849b8c2abe05a6abf05a /templates/interfaces
parent41bf7ac09bc0503d5144cbe3839f4e3cc246c7c7 (diff)
downloadvyatta-cfg-system-16d5cfc8b089f4bf96b689da0abcbc0a0d729f20.tar.gz
vyatta-cfg-system-16d5cfc8b089f4bf96b689da0abcbc0a0d729f20.zip
[dhcp-hostname] T1262 - dhcp needs to call host_name.py to write resolv.conf
Diffstat (limited to 'templates/interfaces')
-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(@)