diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-28 14:14:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 14:14:19 +0100 |
commit | 9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f (patch) | |
tree | eaf13140da518e37ce5760320c6721c3e89c9661 /data | |
parent | 9ee515c236f9fb8cb907790b37a8f5fa54efc47a (diff) | |
parent | e37f58be928b5f86f1c599ab4386747bf45e900e (diff) | |
download | vyos-1x-9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f.tar.gz vyos-1x-9bdd00b7d6850f4ccabcc8ad53ff4f09676ba83f.zip |
Merge pull request #3199 from vyos/mergify/bp/sagitta/pr-3194
op-mode: T6175: "renew dhcp interface <name>" does not check for DHCP interface (backport #3194)
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 }} |