remove ssh check

This commit is contained in:
CanbiZ (MickLesk) 2026-02-03 14:11:38 +01:00
parent a59e631173
commit 49318cc629
2 changed files with 2 additions and 17 deletions

View File

@ -27,7 +27,6 @@ load_functions() {
check_root check_root
pve_check pve_check
arch_check arch_check
ssh_check
# add more # add more
} }
@ -413,19 +412,6 @@ arch_check() {
fi 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() { exit_script() {
clear clear
echo -e "\n${CROSS}${RD}User exited script${CL}\n" echo -e "\n${CROSS}${RD}User exited script${CL}\n"

View File

@ -8,8 +8,8 @@
# Docker VM - Creates a Docker-ready Virtual Machine # 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/api.func) 2>/dev/null
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) 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 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
@ -371,7 +371,6 @@ function start_script() {
# MAIN EXECUTION # MAIN EXECUTION
# ============================================================================== # ==============================================================================
header_info header_info
echo -e "\n Loading..."
check_root check_root
arch_check arch_check