Merge lp:~julian-edwards/maas/ntp-server-dhcp into lp:~maas-committers/maas/trunk
Proposed by
Julian Edwards
Status: | Merged |
---|---|
Approved by: | Julian Edwards |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1731 |
Proposed branch: | lp:~julian-edwards/maas/ntp-server-dhcp |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
263 lines (+73/-2) 11 files modified
etc/maas/templates/dhcp/dhcpd.conf.template (+3/-0) src/maasserver/dhcp.py (+2/-0) src/maasserver/dhcp_connect.py (+11/-0) src/maasserver/forms.py (+1/-0) src/maasserver/forms_settings.py (+11/-0) src/maasserver/models/config.py (+1/-0) src/maasserver/tests/test_dhcp.py (+23/-0) src/provisioningserver/dhcp/config.py (+2/-0) src/provisioningserver/dhcp/tests/test_config.py (+9/-0) src/provisioningserver/dhcp/tests/test_writer.py (+6/-2) src/provisioningserver/dhcp/writer.py (+4/-0) |
To merge this branch: | bzr merge lp:~julian-edwards/maas/ntp-server-dhcp |
Related bugs: | |
Related blueprints: |
Usability points from the training debrief
(Essential)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Graham Binns (community) | Approve | ||
Review via email: mp+194659@code.launchpad.net |
Commit message
Add a global config for NTP server, which sets the ntp-servers option on DHCP responses to nodes.
Description of the change
I made the default NTP address ntp.ubuntu.com as a convenience. More to the point, I made it the IP address because the DHCP server config requires an IP not a domain name.
Everything else here is pretty self-explanatory, I hope.
To post a comment you must log in.
Minor nitpick, otherwise looks good.
[1]
+ "e.g. 91.189.94.4 (ntp.ubuntu.com)")
It's not clear from this what the example is. Should I copy just the IP, or the IP and what's inside the parens, or can I just use what's inside the parens?
I'd say something like: "e.g. for ntp.ubuntu.com: '91.189.94.4'".