From ba2475dc7ed80a7de9b1792f79e1f8f9ea8e287c Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sun, 22 Aug 2021 17:22:47 +0200 Subject: [PATCH] Some images like scaleway bare-metal on 20.04 explicitly require systemd-timesyncd --- baseimage/initializeBaseUbuntuImage.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/baseimage/initializeBaseUbuntuImage.sh b/baseimage/initializeBaseUbuntuImage.sh index be5d120e8..ef8c799f5 100755 --- a/baseimage/initializeBaseUbuntuImage.sh +++ b/baseimage/initializeBaseUbuntuImage.sh @@ -32,6 +32,7 @@ debconf-set-selections <<< 'mysql-server mysql-server/root_password_again passwo gpg_package=$([[ "${ubuntu_version}" == "16.04" ]] && echo "gnupg" || echo "gpg") mysql_package=$([[ "${ubuntu_version}" == "20.04" ]] && echo "mysql-server-8.0" || echo "mysql-server-5.7") +ntpd_package=$([[ "${ubuntu_version}" == "20.04" ]] && echo "systemd-timesyncd" || echo "") apt-get -y install --no-install-recommends \ acl \ apparmor \ @@ -49,6 +50,7 @@ apt-get -y install --no-install-recommends \ logrotate \ $mysql_package \ nfs-common \ + $ntpd_package \ openssh-server \ pwgen \ resolvconf \