#778564 Should be possible to preseed ntp server

#778564#5
Date:
2015-02-16 18:10:32 UTC
From:
To:
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.

#778564#10
Date:
2015-02-16 18:32:37 UTC
From:
To:
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

#778564#15
Date:
2015-02-17 11:21:04 UTC
From:
To:
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.

#778564#20
Date:
2017-01-04 18:21:25 UTC
From:
To:
Just to confirm that this is still an issue in current stretch.

Ian.

#778564#25
Date:
2019-09-30 15:15:30 UTC
From:
To:
Just to confirm that this is still an issue in current buster.

Ian.