add timezone check in install.func

This commit is contained in:
CanbiZ 2025-03-11 14:58:55 +01:00
parent 43c67b715f
commit b571cbfee6

View File

@ -175,6 +175,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