fix timezone
This commit is contained in:
parent
5721dbc578
commit
be84f86b5d
|
|
@ -49,7 +49,7 @@ echo -ne "
|
||||||
"
|
"
|
||||||
sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
|
sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
|
||||||
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
|
timedatectl --no-ask-password set-ntp 1
|
||||||
localectl --no-ask-password set-locale LANG="en_US.UTF-8" LC_TIME="en_US.UTF-8"
|
localectl --no-ask-password set-locale LANG="en_US.UTF-8" LC_TIME="en_US.UTF-8"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue