From 6370b553998ee53402615d9178041060116c6b71 Mon Sep 17 00:00:00 2001 From: jinjin Date: Thu, 28 May 2026 13:00:09 +0200 Subject: [PATCH] some fixes --- bootstrap.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 8306b9b..ab3b8ac 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -53,7 +53,7 @@ apt-get -q -y install \ uptimed \ unattended-upgrades \ curl \ - ntpdate \ + ntpsec-ntpdate \ wget \ rsyslog \ vim \ @@ -71,11 +71,6 @@ echo "## enabling unattended-upgrades" echo unattended-upgrades unattended-upgrades/enable_auto_updates boolean true | debconf-set-selections dpkg-reconfigure -f noninteractive unattended-upgrades -echo "## deleting default user" -if id user >/dev/null 2>&1; then - userdel -rf user -fi - echo "## setting vim config" truncate -s0 /root/.vimrc echo "set mouse=" >>/root/.vimrc @@ -93,7 +88,7 @@ chmod 600 /root/.ssh/authorized_keys chown -R root:root /root/.ssh /root/.vimrc echo "## syncing time" -ntpdate pool.ntp.org -hwclock --systohc +ntpdate pool.ntp.org || true +hwclock --systohc || true echo "*** DONE ***"