I did a preseeded installation of wheezy with d-i clock-setup/ntp-server string ntp.uk.xensource.com This was honoured during installation, but after installation the real system has *.debian.pool.ntp.org in its ntp.conf. This is obviously not desirable. This bug against clock-setup in Ubuntu seems to be the same complaint: https://bugs.launchpad.net/ubuntu/+source/clock-setup/+bug/388343 I'm not sure where exactly this should be fixed. ntp.conf is a dpkg-handled conffile in ntp in wheezy so I think at the very least ntp needs to change. Thanks, Ian.
As far as I know that is for the "clock-setup" package, not anything related to ntp. I think it currently only sets the clock correct once and doesn't put that value in any config file we could use. An alternative is to send the ntp servers using DHCP. In that case we generate a new config file (with other name) and replace the servers in it. This currently seems to be broken when using netwerk-manager though. Kurt
Kurt Roeckx writes ("Re: [pkg-ntp-maintainers] Bug#778564: Should be possible to preseed ntp server"):
That is indeed used by "clock-setup" which is a udeb. It sets the
clock with ntpdate in the installer environment.
Obviously it would be best if there were one preseed setting which
worked both during d-i and in the real install.
DHCP is sometimes an alternative, yes. I hope you agree though that
it should be possible to do this via preseeding, and that is what this
report is about.
Thanks,
Ian.
Just to confirm that this is still an issue in current stretch. Ian.
Just to confirm that this is still an issue in current buster. Ian.