Update create_lxc.sh

This commit is contained in:
CanbiZ 2025-07-10 09:17:23 +02:00
parent 6cb0a049d3
commit dcfe74d7a3

View File

@ -271,7 +271,7 @@ if [ ${#TEMPLATES[@]} -eq 0 ]; then
fi
ensure_template_ready
ensure_template_ready() {
function ensure_template_ready() {
local template_path
template_path="$(pvesm path $TEMPLATE_STORAGE:vztmpl/$TEMPLATE 2>/dev/null || echo "/var/lib/vz/template/cache/$TEMPLATE")"