next test

This commit is contained in:
vhsdream 2025-09-02 16:22:38 -04:00
parent 8fd2b0c20d
commit d95e5d7c93

View File

@ -466,8 +466,8 @@ grep -q "root:100000:65536" /etc/subuid || echo "root:100000:65536" >>/etc/subui
grep -q "root:100000:65536" /etc/subgid || echo "root:100000:65536" >>/etc/subgid
# Assemble pct options
PCT_OPTIONS=("${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}}")
[[ " ${PCT_OPTIONS[@]} " =~ " -rootfs " ]] || PCT_OPTIONS+=(-rootfs "$CONTAINER_STORAGE:${PCT_DISK_SIZE:-8}")
PCT_OPTIONS=(${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}})
[[ " ${PCT_OPTIONS[*]} " =~ " -rootfs " ]] || PCT_OPTIONS+=(-rootfs "$CONTAINER_STORAGE:${PCT_DISK_SIZE:-8}")
# Secure with lockfile
lockfile="/tmp/template.${TEMPLATE}.lock"