do NTP
This commit is contained in:
parent
2fe2884651
commit
3fb48e75b6
|
@ -36,6 +36,14 @@ until nc -w 5 -z mirror.swagg.net 80; do
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# NTP
|
||||||
|
cat >> /etc/systemd/timesyncd.conf <<'EOF'
|
||||||
|
NTP=pfswagg.swaggnet.real swaggcore0.swaggnet.real
|
||||||
|
FallbackNTP=time-a-g.nist.gov time-b-g.nist.gov time-c-g.nist.gov time-d-g.nist.gov time-e-g.nist.gov
|
||||||
|
EOF
|
||||||
|
|
||||||
|
systemctl restart systemd-timesyncd
|
||||||
|
|
||||||
# Shared drives
|
# Shared drives
|
||||||
if grep -q 'swaggnet\.real' /etc/resolv.conf; then
|
if grep -q 'swaggnet\.real' /etc/resolv.conf; then
|
||||||
apt-get -y install cifs-utils smbclient autofs
|
apt-get -y install cifs-utils smbclient autofs
|
||||||
|
|
Loading…
Reference in a new issue