openstack-ansible-os_ironic/files/dhcpd.conf
2016-02-15 09:39:27 +00:00

45 lines
1.5 KiB
ISCdhcpd

#
# Sample configuration file for Ironic deploys via
# openstack-ansible-ironic
#
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# This is the section of great importance to standalone ironic
# deployers. This host, as well as the deployment hosts, should
# be on the same network segment. And, if you have more than
# one ironic-conduftor, you should only run an isc-dhcp-server
# and tftpd-hpa server on one of these conductors.
#
# TODO(mrda): Enforce this in the os_ironic role
#
subnet 10.141.0.0 netmask 255.255.0.0 {
group {
# Repeat this host section for each ironic deployment host
host ironic_deploy_host_name {
hardware ethernet <tbd>; # deploy host mac address
fixed-address <tbd>; # deploy host IP address
allow booting;
allow bootp;
next-server <tbd>; # tftpd-hpa server IP addr
filename "pxelinux.0";
}
}
}