diff options
author | hagbard <vyosdev@derith.de> | 2019-03-20 15:21:25 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-03-22 12:38:07 -0700 |
commit | 0815680825a4c521b11cb18fc2009d37e5a2e53c (patch) | |
tree | 2bcdd622c79ac1876d59813a72a17adb0a6844d3 | |
parent | 4883f3aa0ad00a33acf0ba18af162a35d85a0325 (diff) | |
download | vyatta-cfg-system-0815680825a4c521b11cb18fc2009d37e5a2e53c.tar.gz vyatta-cfg-system-0815680825a4c521b11cb18fc2009d37e5a2e53c.zip |
[dhcp-hostname] T1262 - dhcp needs to call host_name.py to write resolv.conf
(cherry-picked 16d5cfc8b089f4bf96b689da0abcbc0a0d729f20)
-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(@) |