fix timezone

This commit is contained in:
vic1707 2022-01-15 16:53:56 +01:00
parent 5721dbc578
commit be84f86b5d
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ echo -ne "
"
sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
locale-gen
timedatectl --no-ask-password set-timezone ${TIMEZONE}
ln -s /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
timedatectl --no-ask-password set-ntp 1
localectl --no-ask-password set-locale LANG="en_US.UTF-8" LC_TIME="en_US.UTF-8"