From 127390c917e7e383f43e43cd603e9fbddc593482 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 13 Mar 2025 15:54:50 +0100 Subject: [PATCH] Alpine-Install (core) add timezone (tz) check (#3057) --- misc/alpine-install.func | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/alpine-install.func b/misc/alpine-install.func index 019c291e5..636be6485 100644 --- a/misc/alpine-install.func +++ b/misc/alpine-install.func @@ -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