From dcfe74d7a3346133ea5aee56eca7a5581f3edf08 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 10 Jul 2025 09:17:23 +0200 Subject: [PATCH] Update create_lxc.sh --- misc/create_lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/create_lxc.sh b/misc/create_lxc.sh index 64825855..3f5ce290 100644 --- a/misc/create_lxc.sh +++ b/misc/create_lxc.sh @@ -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")"