set custom ntp server for debian unattended

This commit is contained in:
DigitalInfinity committed 2022-08-15 15:19:49 +02:00
1 parent a1c9783258
commit f7a6479c51
2 files changed
+5

No files matched your search

+4
View File
@@ -148,7 +148,11 @@ d-i time/zone string {{ debianunattended_time_zone | default('EU/Berlin') }}
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
# NTP server to use. The default is almost always fine here.
{% if debianunattended_ntpserver is defined %}
d-i clock-setup/ntp-server string {{ debianunattended_ntpserver }}
{% else %}
#d-i clock-setup/ntp-server string ntp.example.com
{% endif %}
### Partitioning
## Partitioning example