diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-16 12:14:56 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-16 12:14:56 +0200 |
commit | 039e323d7e46f7d8244c42794f713a0bfecbe2d3 (patch) | |
tree | a7e3e29f7f110cbf2adccd717eca9d09c8c1eb0b /data/templates/dhcp-client/daemon-options.j2 | |
parent | cb014d8818a864512680f57953d6f21ad5467e59 (diff) | |
download | vyos-1x-039e323d7e46f7d8244c42794f713a0bfecbe2d3.tar.gz vyos-1x-039e323d7e46f7d8244c42794f713a0bfecbe2d3.zip |
dhcp(v6)-client: T4353: fix Jinja2 linting errors
Diffstat (limited to 'data/templates/dhcp-client/daemon-options.j2')
-rw-r--r-- | data/templates/dhcp-client/daemon-options.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/dhcp-client/daemon-options.j2 b/data/templates/dhcp-client/daemon-options.j2 new file mode 100644 index 000000000..b21ad08ab --- /dev/null +++ b/data/templates/dhcp-client/daemon-options.j2 @@ -0,0 +1,4 @@ +### Autogenerated by interface.py ### +{% set if_metric = '-e IF_METRIC=' ~ dhcp_options.default_route_distance if dhcp_options.default_route_distance is vyos_defined else '' %} +DHCLIENT_OPTS="-nw -cf /var/lib/dhcp/dhclient_{{ ifname }}.conf -pf /var/lib/dhcp/dhclient_{{ ifname }}.pid -lf /var/lib/dhcp/dhclient_{{ ifname }}.leases {{ if_metric }} {{ ifname }}" + |