Comment 7 for bug 427775

Revision history for this message
Jorge Niedbalski (niedbalski) wrote :

For MAAS users. A quick workaround that you can use for this, is to setting NTPDATE_USE_NTP_CONF to NO via the generic preseed file.

Edit /etc/maas/preseeds/generic, add a late_command into the file

d-i preseed/late_command string true && \
in-target sed -i 's/NTPDATE_USE_NTP_CONF=yes/NTPDATE_USE_NTP_CONF=no/'
/etc/default/ntpdate

This change will force the usage of /var/lib/ntpdate/default.dhcp , which is being written correctly by MAAS.

The proper solution for this fix would be to fix the ntpdate package to fall back to /etc/default/ntpdate.dhcp if it doesn't find any ntp.conf configuration by default.