Update docker-vm.sh

This commit is contained in:
CanbiZ
2025-12-05 11:05:18 +01:00
parent 2e55a08a1b
commit b6e08003be

View File

@@ -8,7 +8,7 @@
# Docker VM - Creates a Docker-ready Virtual Machine with optional Portainer # Docker VM - Creates a Docker-ready Virtual Machine with optional Portainer
# ============================================================================== # ==============================================================================
source /dev/stdin <<<$(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/api.func) source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/api.func)
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/vm-core.func) source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/vm-core.func)
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/cloud-init.func) 2>/dev/null || true source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/cloud-init.func) 2>/dev/null || true
load_functions load_functions
@@ -526,7 +526,6 @@ echo -e "\n Loading..."
check_root check_root
arch_check arch_check
pve_check pve_check
ssh_check
TEMP_DIR=$(mktemp -d) TEMP_DIR=$(mktemp -d)
pushd $TEMP_DIR >/dev/null pushd $TEMP_DIR >/dev/null
@@ -543,6 +542,7 @@ post_to_api_vm
# ============================================================================== # ==============================================================================
# STORAGE SELECTION # STORAGE SELECTION
# ============================================================================== # ==============================================================================
echo ""
msg_info "Validating Storage" msg_info "Validating Storage"
while read -r line; do while read -r line; do
TAG=$(echo $line | awk '{print $1}') TAG=$(echo $line | awk '{print $1}')