Merge "Allow to populate the domain setting of dnsmasq"
This commit is contained in:
commit
1780f41d23
@ -143,6 +143,9 @@ enable_cors_credential_support: Boolean value, default false. This variable
|
|||||||
noauth mode, this realistically should not
|
noauth mode, this realistically should not
|
||||||
be modified.
|
be modified.
|
||||||
|
|
||||||
|
domain: String value, default to false. If set, domain setting is configured
|
||||||
|
in dnsmasq.
|
||||||
|
|
||||||
### Hardware Inspection Support
|
### Hardware Inspection Support
|
||||||
|
|
||||||
Bifrost also supports the installation of ironic-inspector in standalone
|
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
|
# domain of all systems configured by DHCP
|
||||||
# 3) Provides the domain part for "expand-hosts"
|
# 3) Provides the domain part for "expand-hosts"
|
||||||
#domain=thekelleys.org.uk
|
#domain=thekelleys.org.uk
|
||||||
|
{% if domain is defined %}
|
||||||
|
domain={{ domain }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Set a different domain for a particular subnet
|
# Set a different domain for a particular subnet
|
||||||
#domain=wireless.thekelleys.org.uk,192.168.2.0/24
|
#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…
Reference in New Issue
Block a user