Move host configuration to setup script since Cloudron does not rely on it
Also hostname cannot be set here since admin_fqdn is not available on initial setup
This commit is contained in:
@@ -206,6 +206,11 @@ if ! /bin/bash "${box_src_tmp_dir}/scripts/installer.sh" --data-file "${DATA_FIL
|
||||
fi
|
||||
rm "${DATA_FILE}"
|
||||
|
||||
echo "=> Configuring host"
|
||||
sed -e 's/^#NTP=/NTP=0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org/' -i /etc/systemd/timesyncd.conf
|
||||
timedatectl set-ntp 1
|
||||
timedatectl set-timezone UTC
|
||||
|
||||
echo -n "=> Waiting for cloudron to be ready (this takes some time) ..."
|
||||
while true; do
|
||||
echo -n "."
|
||||
|
||||
Reference in New Issue
Block a user