From 49318cc629cc745ba8ff7f5b3e388d02d3ab94bc Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Tue, 3 Feb 2026 14:11:38 +0100 Subject: [PATCH] remove ssh check --- misc/vm-core.func | 14 -------------- vm/docker-vm.sh | 5 ++--- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/misc/vm-core.func b/misc/vm-core.func index 5412eb14c..60c8d95c3 100644 --- a/misc/vm-core.func +++ b/misc/vm-core.func @@ -27,7 +27,6 @@ load_functions() { check_root pve_check arch_check - ssh_check # add more } @@ -413,19 +412,6 @@ arch_check() { fi } -ssh_check() { - if command -v pveversion >/dev/null 2>&1; then - if [ -n "${SSH_CLIENT:+x}" ]; then - if whiptail --backtitle "Proxmox VE Helper Scripts" --defaultno --title "SSH DETECTED" --yesno "It's suggested to use the Proxmox shell instead of SSH, since SSH can create issues while gathering variables. Would you like to proceed with using SSH?" 10 62; then - echo "you've been warned" - else - clear - exit - fi - fi - fi -} - exit_script() { clear echo -e "\n${CROSS}${RD}User exited script${CL}\n" diff --git a/vm/docker-vm.sh b/vm/docker-vm.sh index a1a29f205..6c862c3f4 100644 --- a/vm/docker-vm.sh +++ b/vm/docker-vm.sh @@ -8,8 +8,8 @@ # Docker VM - Creates a Docker-ready Virtual Machine # ============================================================================== -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/api.func) 2>/dev/null +source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/vm-core.func) 2>/dev/null source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/cloud-init.func) 2>/dev/null || true load_functions @@ -371,7 +371,6 @@ function start_script() { # MAIN EXECUTION # ============================================================================== header_info -echo -e "\n Loading..." check_root arch_check