From a39ae13ccc2a1154a1943246e1b8b45add11c560 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 5 Apr 2020 17:26:29 +0200 Subject: dhcp-relay: T2230: move inlined templates to dedicated files --- data/templates/dhcp-relay/config.tmpl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 data/templates/dhcp-relay/config.tmpl (limited to 'data/templates/dhcp-relay') diff --git a/data/templates/dhcp-relay/config.tmpl b/data/templates/dhcp-relay/config.tmpl new file mode 100644 index 000000000..7203ae9fb --- /dev/null +++ b/data/templates/dhcp-relay/config.tmpl @@ -0,0 +1,17 @@ +### Autogenerated by dhcp_relay.py ### + +# Defaults for isc-dhcp-relay initscript +# sourced by /etc/init.d/isc-dhcp-relay + +# +# This is a POSIX shell fragment +# + +# What servers should the DHCP relay forward requests to? +SERVERS="{{ server | join(' ') }}" + +# On what interfaces should the DHCP relay (dhrelay) serve DHCP requests? +INTERFACES="{{ interface | join(' ') }}" + +# Additional options that are passed to the DHCP relay daemon? +OPTIONS="-4 {{ options | join(' ') }}" -- cgit v1.2.3