summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Hostbase/templates/dhcpd.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Server/Hostbase/templates/dhcpd.tmpl')
-rw-r--r--src/lib/Bcfg2/Server/Hostbase/templates/dhcpd.tmpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Hostbase/templates/dhcpd.tmpl b/src/lib/Bcfg2/Server/Hostbase/templates/dhcpd.tmpl
new file mode 100644
index 000000000..757b263cd
--- /dev/null
+++ b/src/lib/Bcfg2/Server/Hostbase/templates/dhcpd.tmpl
@@ -0,0 +1,17 @@
+#
+# This file is automatically generated.
+# DO NOT EDIT IT BY HAND!
+#
+# This file contains {{ numips }} IP addresses
+# Generated on: {% now "r" %}
+#
+
+{% include "dhcpd.conf.head" %}
+
+# Hosts which require special configuration options can be listed in
+# host statements. If no address is specified, the address will be
+# allocated dynamically (if possible), but the host-specific information
+# will still come from the host declaration.
+
+{% for host in hosts %}host {{ host.0 }} {hardware ethernet {{ host.1 }};fixed-address {{ host.2 }};}
+{% endfor %}