mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
revert revert ssh_check
This commit is contained in:
parent
8bf03a6cb6
commit
b19b5e1039
92 changed files with 93 additions and 1 deletions
|
@ -97,7 +97,7 @@ function ARCH_CHECK() {
|
|||
}
|
||||
function SSH_CHECK() {
|
||||
if command -v pveversion >/dev/null 2>&1; then
|
||||
if [ -n "$SSH_CLIENT" ]; then
|
||||
if [ -n "${SSH_CLIENT:+x}" ]; then
|
||||
if whiptail --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
|
||||
|
@ -269,6 +269,7 @@ function START_SCRIPT() {
|
|||
}
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
SSH_CHECK
|
||||
START_SCRIPT
|
||||
msg_info "Validating Storage"
|
||||
while read -r line; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue