mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 09:54:36 +00:00
Alpine-Install (core) add timezone (tz) check (#3057)
This commit is contained in:
parent
d1528d4ba7
commit
127390c917
1 changed files with 5 additions and 0 deletions
|
@ -179,6 +179,11 @@ motd_ssh() {
|
||||||
fi
|
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
|
# This function customizes the container and enables passwordless login for the root user
|
||||||
customize() {
|
customize() {
|
||||||
if [[ "$PASSWORD" == "" ]]; then
|
if [[ "$PASSWORD" == "" ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue