Alpine-Install (core) add timezone (tz) check (#3057)

This commit is contained in:
CanbiZ
2025-03-13 15:54:50 +01:00
committed by GitHub
parent d1528d4ba7
commit 127390c917

View File

@ -179,6 +179,11 @@ motd_ssh() {
fi
}
# Validate Timezone for some LXC's
validate_tz() {
[[ -f "/usr/share/zoneinfo/$1" ]]
}
# This function customizes the container and enables passwordless login for the root user
customize() {
if [[ "$PASSWORD" == "" ]]; then