diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-04 21:51:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 21:51:45 +0100 |
commit | d79c80ff078ac686ae2a4e0da66bfbd40d67f824 (patch) | |
tree | 43edad0dc3de95472a065da7d8f1d8ebeb6d6d5a /data/templates/dhcp-client/daemon-options.tmpl | |
parent | ecba3ff3a5d5032da735e0f73983b85918560570 (diff) | |
parent | dd2eb5e5686655c996ae95285b8ad7eb73d63d0b (diff) | |
download | vyos-1x-d79c80ff078ac686ae2a4e0da66bfbd40d67f824.tar.gz vyos-1x-d79c80ff078ac686ae2a4e0da66bfbd40d67f824.zip |
Merge pull request #729 from bstepler/T3300
dhcp: T3300: add DHCP default route distance
Diffstat (limited to 'data/templates/dhcp-client/daemon-options.tmpl')
-rw-r--r-- | data/templates/dhcp-client/daemon-options.tmpl | 2 |
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 290aefa49..40629dca1 100644 --- a/data/templates/dhcp-client/daemon-options.tmpl +++ b/data/templates/dhcp-client/daemon-options.tmpl @@ -1,4 +1,4 @@ ### Autogenerated by interface.py ### -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}}" +DHCLIENT_OPTS="-nw -cf /var/lib/dhcp/dhclient_{{ifname}}.conf -pf /var/lib/dhcp/dhclient_{{ifname}}.pid -lf /var/lib/dhcp/dhclient_{{ifname}}.leases{{" -e IF_METRIC=" ~ dhcp_options.default_route_distance if dhcp_options.default_route_distance is defined and dhcp_options.default_route_distance is not none}} {{ifname}}" |