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.
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 && \ USE_NTP_ CONF=yes/ NTPDATE_ USE_NTP_ CONF=no/ ' ntpdate
in-target sed -i 's/NTPDATE_
/etc/default/
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.