Set timezone from outside chroot

This commit is contained in:
nl6720 2020-06-29 20:26:19 +03:00
parent 3720627e88
commit ff926f72a1
No known key found for this signature in database
GPG Key ID: 5CE88535E188D369
2 changed files with 1 additions and 2 deletions

View File

@ -0,0 +1 @@
/usr/share/zoneinfo/UTC

View File

@ -5,8 +5,6 @@ set -e -u
sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen
locale-gen locale-gen
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
usermod -s /usr/bin/zsh root usermod -s /usr/bin/zsh root
cp -aT /etc/skel/ /root/ cp -aT /etc/skel/ /root/
chmod 700 /root chmod 700 /root