Permalink
Browse files

add example config file for dnsmasq

  • Loading branch information...
1 parent 025afc0 commit 6c83b40d3cf4d99a9777c1d34b577624ecc60c89 @maddingue committed Dec 13, 2012
Showing with 27 additions and 0 deletions.
  1. +1 −0 MANIFEST
  2. +26 −0 etc/host.dnsmasq.conf
View
@@ -10,6 +10,7 @@ bin/racktables-check
cgi/rackapi
cgi/rtlink
etc/host.dhcp.conf.tmpl
+etc/host.dnsmasq.conf
etc/host.pxe.conf.tmpl
etc/host.kickstart.cfg.tmpl
etc/rack.conf
View
@@ -0,0 +1,26 @@
+### server part ###
+dhcp-host=[% if0_mac %],set:[% name %],[% if0_ip %],[% name %]
+
+# gateway
+dhcp-option=tag:[% name %],3,[% gateway %]
+
+# domain name
+dhcp-option=tag:[% name %],15,"example.com"
+
+# bootfile name
+dhcp-option=tag:[% name %],67,pxeboot.amd64
+
+# root path
+dhcp-option=tag:[% name %],17,"/home/install/base-release-8.2-amd64/dvd1"
+
+[% if has_ilo %]
+#### iLO part ###
+dhcp-host=[% ilo_mac %],set:[% ilo_fqdn %],[% ilo_ip %],[% ilo_fqdn %]
+
+# gateway
+dhcp-option=tag:[% ilo_fqdn %],3,[% ilo_gateway %]
+
+# domain name
+dhcp-option=tag:[% ilo_fqdn %],15,"example.com"
+[% end_if %]
+

0 comments on commit 6c83b40

Please sign in to comment.