summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-client/daemon-options.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-08-03 13:51:48 +0200
committerChristian Poessinger <christian@poessinger.com>2020-08-03 13:51:48 +0200
commitb6dcb0a887a4fab89ca870d6142d6856cccc181f (patch)
tree32017afade2555e5b3ad16cd0a108d7021bc83bc /data/templates/dhcp-client/daemon-options.tmpl
parent84331764a81d7e31c5c4dd5466f347054283d377 (diff)
downloadvyos-1x-b6dcb0a887a4fab89ca870d6142d6856cccc181f.tar.gz
vyos-1x-b6dcb0a887a4fab89ca870d6142d6856cccc181f.zip
ifconfig: T2653: unify DHCPv4 configuration
Pass the interface dictionary transparently to the DHCP module and render the DHCP client config template directly from the same source instead of transcoding it once more.
Diffstat (limited to 'data/templates/dhcp-client/daemon-options.tmpl')
-rw-r--r--data/templates/dhcp-client/daemon-options.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/dhcp-client/daemon-options.tmpl b/data/templates/dhcp-client/daemon-options.tmpl
index 12786b777..a0ba2c9ef 100644
--- a/data/templates/dhcp-client/daemon-options.tmpl
+++ b/data/templates/dhcp-client/daemon-options.tmpl
@@ -1 +1 @@
-DHCLIENT_OPTS="-nw -cf {{ conf_file }} -pf {{ pid_file }} -lf {{ lease_file }} {{ '-S' if dhcpv6_prm_only }} {{ '-T' if dhcpv6_temporary }} {{ ifname }}"
+DHCLIENT_OPTS="-nw -cf /var/lib/dhcp/dhclient_{{ifname}}.conf -pf /var/lib/dhcp/dhclient_{{ifname}}.pid -lf /var/lib/dhcp/dhclient_{{ifname}}.leases {{ifname}}"