summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-05 17:26:29 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-05 17:26:29 +0200
commita39ae13ccc2a1154a1943246e1b8b45add11c560 (patch)
tree88d156287bb16bd189bdd43fbca3ddd1e9468999 /data
parente66abf4117d2b2c91d54a418ce10de91584c2035 (diff)
downloadvyos-1x-a39ae13ccc2a1154a1943246e1b8b45add11c560.tar.gz
vyos-1x-a39ae13ccc2a1154a1943246e1b8b45add11c560.zip
dhcp-relay: T2230: move inlined templates to dedicated files
Diffstat (limited to 'data')
-rw-r--r--data/templates/dhcp-relay/config.tmpl17
1 files changed, 17 insertions, 0 deletions
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(' ') }}"