mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-25 14:31:30 +02:00
Merge branch 'bugfix/KASM-6521_deb_persist_tz_on_init' into 'develop'
KASM-6521 Persist initial tz setting during installation on apt systems Closes KASM-6521 See merge request kasm-technologies/internal/workspaces-core-images!246
This commit is contained in:
commit
8d94df5afc
@ -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