diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-28 12:42:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 12:42:48 +0100 |
commit | 889c1a81a9e291a276e35617f1d77f9f9bd4b194 (patch) | |
tree | 6c674939cfb9274d2839a6d9e3c2f9da1953bc28 /data | |
parent | 63b9889f2070ae09774c71ff1449a5c1f7b99881 (diff) | |
parent | 7dbaa25a199a781aaa9f269741547e576410cb11 (diff) | |
download | vyos-1x-889c1a81a9e291a276e35617f1d77f9f9bd4b194.tar.gz vyos-1x-889c1a81a9e291a276e35617f1d77f9f9bd4b194.zip |
Merge pull request #3194 from c-po/dhclient-T6175
op-mode: T6175: "renew dhcp interface <name>" does not check for DHCP interface
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/dhcp-client/override.conf.j2 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/data/templates/dhcp-client/override.conf.j2 b/data/templates/dhcp-client/override.conf.j2 index d09320270..c2e059c7b 100644 --- a/data/templates/dhcp-client/override.conf.j2 +++ b/data/templates/dhcp-client/override.conf.j2 @@ -3,9 +3,6 @@ {% set if_metric = '-e IF_METRIC=' ~ dhcp_options.default_route_distance if dhcp_options.default_route_distance is vyos_defined else '' %} {% set dhclient_options = '-d -nw -cf ' ~ isc_dhclient_dir ~ '/dhclient_' ~ ifname ~ '.conf -pf ' ~ isc_dhclient_dir ~ '/dhclient_' ~ ifname ~ '.pid -lf ' ~ isc_dhclient_dir ~ '/dhclient_' ~ ifname ~ '.leases ' ~ if_metric %} -[Unit] -ConditionPathExists={{ isc_dhclient_dir }}/dhclient_%i.conf - [Service] ExecStart= ExecStart={{ vrf_command }}/sbin/dhclient -4 {{ dhclient_options }} {{ ifname }} |