add timezone check in install.func
This commit is contained in:
parent
43c67b715f
commit
b571cbfee6
@ -175,6 +175,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…
x
Reference in New Issue
Block a user