diff options
author | Brandon Stepler <brandon@stepler.net> | 2021-02-15 10:30:00 -0500 |
---|---|---|
committer | Brandon Stepler <brandon@stepler.net> | 2021-02-15 10:30:00 -0500 |
commit | dd2eb5e5686655c996ae95285b8ad7eb73d63d0b (patch) | |
tree | 82b072b215ecbdf99ccbd221e9b70ac29a9664a4 /data/templates/dhcp-client | |
parent | df7e790df0c71c41455c9e05c0544889110dac0f (diff) | |
download | vyos-1x-dd2eb5e5686655c996ae95285b8ad7eb73d63d0b.tar.gz vyos-1x-dd2eb5e5686655c996ae95285b8ad7eb73d63d0b.zip |
dhcp: T3300: add DHCP default route distance
Diffstat (limited to 'data/templates/dhcp-client')
-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}}" |