mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-25 14:31:30 +02:00
KASM-6521 Persist initial tz setting during installation on apt systems
This commit is contained in:
parent
4f1a38455c
commit
316ac0be28
@ -33,7 +33,11 @@ elif [ "${DISTRO}" == "alpine" ]; then
|
||||
else
|
||||
apt-get update
|
||||
# Update tzdata noninteractive (otherwise our script is hung on user input later).
|
||||
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata
|
||||
ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y install tzdata
|
||||
# Debian (KasmOS) requires a reconfigure because tzdata is already installed
|
||||
# On Ubuntu, this is a no-op
|
||||
dpkg-reconfigure --frontend noninteractive tzdata
|
||||
|
||||
# software-properties is removed from kali-rolling
|
||||
if grep -q "kali-rolling" /etc/os-release; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user