Add support for NTP servers in dnsmasq configuration

Change-Id: I046a41df784835b3fe8916359ff2c1ed83e14f06
This commit is contained in:
Olivier Bourdon 2018-04-23 17:33:32 +02:00 committed by yolanda.robla
parent fe10ce2ddb
commit bbce94c783
2 changed files with 15 additions and 0 deletions

View File

@ -83,6 +83,10 @@ dhcp-option=3
dhcp-option=6,{{dnsmasq_dns_servers}}
{% endif %}
{% if dnsmasq_ntp_servers is defined %}
dhcp-option=42,{{dnsmasq_ntp_servers}}
{% endif %}
# Boot for Etherboot gPXE. The idea is to send two different
# filenames, the first loads gPXE, and the second tells gPXE what to
# load. The dhcp-match sets the gpxe tag for requests from gPXE.

View File

@ -0,0 +1,11 @@
---
features:
- Allow to populate the NTP servers setting of
dnsmasq. This is optional, but if
``dnsmasq_ntp_servers``setting is set, it adds a
``dhcp-option=42,dnsmasq_ntp_servers`` to the
generated dnsmasq configuration for bifrost.
other:
- When configuring the ``dnsmasq_ntp_servers`` setting,
several NTP servers can be specified, separated by
commas.