Allow to populate the domain setting of dnsmasq
As shown in documentation: this is optional, but if it is set, it does the following things. 1) Allows DHCP hosts to have fully qualified domain names, as long as the domain part matches this setting. 2) Sets the "domain" DHCP option thereby potentially setting the domain of all systems configured by DHCP 3) Provides the domain part for "expand-hosts" Under certain cases, have FQDN in servers is a need. Change-Id: Id8a109984c13e95841d9e0f283d55261d083542c
This commit is contained in:
parent
7ff69efafa
commit
2d713268a3
@ -143,6 +143,9 @@ enable_cors_credential_support: Boolean value, default false. This variable
|
||||
noauth mode, this realistically should not
|
||||
be modified.
|
||||
|
||||
domain: String value, default to false. If set, domain setting is configured
|
||||
in dnsmasq.
|
||||
|
||||
### Hardware Inspection Support
|
||||
|
||||
Bifrost also supports the installation of ironic-inspector in standalone
|
||||
|
@ -142,6 +142,9 @@ dhcp-hostsfile=/etc/dnsmasq.d/bifrost.dhcp-hosts.d
|
||||
# domain of all systems configured by DHCP
|
||||
# 3) Provides the domain part for "expand-hosts"
|
||||
#domain=thekelleys.org.uk
|
||||
{% if domain is defined %}
|
||||
domain={{ domain }}
|
||||
{% endif %}
|
||||
|
||||
# Set a different domain for a particular subnet
|
||||
#domain=wireless.thekelleys.org.uk,192.168.2.0/24
|
||||
|
@ -0,0 +1,14 @@
|
||||
---
|
||||
features:
|
||||
- Allow to populate the domain setting of
|
||||
dnsmasq. As shown in documentation: this is optional,
|
||||
but if it is set, it does the following things.
|
||||
1) Allows DHCP hosts to have fully qualified domain
|
||||
names, as long as the domain part matches this setting.
|
||||
2) Sets the "domain" DHCP option thereby potentially
|
||||
setting the domain of all systems configured by DHCP.
|
||||
3) Provides the domain part for "expand-hosts"
|
||||
other:
|
||||
- The role will accept the ``domain`` setting. If that's
|
||||
present, it will be populated to equivalent domain
|
||||
setting in dnsmasq.conf
|
Loading…
x
Reference in New Issue
Block a user