mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update docker-vm.sh
This commit is contained in:
@@ -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}')
|
||||||
|
|||||||
Reference in New Issue
Block a user