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 ***"