From 241833b7f320e7fca84ba226f1ecbb0c963534f7 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 12 Jul 2024 15:20:54 -0400 Subject: initial commit of hypervisor configs --- files/etc/ntp.conf.freebsd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 files/etc/ntp.conf.freebsd (limited to 'files/etc/ntp.conf.freebsd') diff --git a/files/etc/ntp.conf.freebsd b/files/etc/ntp.conf.freebsd new file mode 100644 index 0000000..d4b1a03 --- /dev/null +++ b/files/etc/ntp.conf.freebsd @@ -0,0 +1,18 @@ +interface ignore wildcard +interface listen ${BOXCONF_DEFAULT_IPV4} + +tos minclock 3 maxclock 6 + +$(if [ -n "${ntp_servers:-}" ]; then + printf 'server %s iburst\n' $ntp_servers + elif [ -n "${ntp_pools:-}" ]; then + printf 'pool %s iburst\n' $ntp_pools + fi) + +restrict default limited kod nomodify notrap noquery nopeer +restrict source limited kod nomodify notrap noquery + +restrict 127.0.0.1 +restrict ::1 + +leapfile "/var/db/ntpd.leap-seconds.list" -- cgit v1.2.3