diff options
author | hagbard <vyosdev@derith.de> | 2019-03-20 15:21:25 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-03-20 15:21:25 -0700 |
commit | 16d5cfc8b089f4bf96b689da0abcbc0a0d729f20 (patch) | |
tree | 6d15bd2657956241d8f6849b8c2abe05a6abf05a /templates/interfaces | |
parent | 41bf7ac09bc0503d5144cbe3839f4e3cc246c7c7 (diff) | |
download | vyatta-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.def | 1 |
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(@) |