From 564d33e60c273d891ae4d99e7973ce6ea8f462cf Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 30 Sep 2025 14:23:20 +0200 Subject: [PATCH] Fix typo and adjust whiptail dialog width Corrected an extra quote in SNIPPET_PATH assignment and increased the whiptail radiolist width from 60 to 70 for better display in the Docker VM setup script. --- vm/docker-vm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/docker-vm.sh b/vm/docker-vm.sh index 1483b979..7ada54f2 100644 --- a/vm/docker-vm.sh +++ b/vm/docker-vm.sh @@ -282,7 +282,7 @@ start_script; post_to_api_vm choose_os() { local OS_CHOICE if OS_CHOICE=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Choose Base OS" --radiolist \ - "Select the OS for the Docker VM:" 12 60 3 \ + "Select the OS for the Docker VM:" 12 70 3 \ "debian12" "Debian 12 (Bookworm, stable & best for scripts)" ON \ "debian13" "Debian 13 (Trixie, newer, but repos lag)" OFF \ "ubuntu24" "Ubuntu 24.04 LTS (modern kernel, GPU/AI friendly)" OFF \ @@ -436,7 +436,7 @@ if [[ "$INSTALL_MODE" = "cloudinit" ]]; then mkdir -p "$SNIPPET_DIR" SNIPPET_FILE="docker-${VMID}-user-data.yaml" - SNIPPET_PATH="${SNIPPET_DIR}/${SNIPPET_FILE}"" + SNIPPET_PATH="${SNIPPET_DIR}/${SNIPPET_FILE}" DOCKER_GPG_B64="$(curl -fsSL "${DOCKER_BASE}/gpg" | gpg --dearmor | base64 -w0)"