We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aa1b87 commit 260b8d7Copy full SHA for 260b8d7
tools/modules/functions/set_runtime_variables.sh
@@ -51,6 +51,11 @@ function set_runtime_variables() {
51
[[ -f /etc/armbian-release ]] && source /etc/armbian-release && ARMBIAN="Armbian $VERSION $IMAGE_TYPE"
52
[[ -f /etc/armbian-distribution-status ]] && DISTRO_STATUS="/etc/armbian-distribution-status"
53
54
+ # Docker installatons read timezone and they will fail if this doesn't exist. This is often the case with some minimal Debian/Ubuntu installations.
55
+ if [[ ! -f /etc/timezone ]]; then
56
+ echo "America/New_York" | sudo tee /etc/timezone
57
+ fi
58
+
59
DISTRO=$(lsb_release -is)
60
DISTROID=$(lsb_release -sc 2> /dev/null || grep "VERSION=" /etc/os-release | grep -oP '(?<=\().*(?=\))')
61
KERNELID=$(uname -r)
0 commit comments