mirror of https://github.com/tteck/Proxmox.git
				
				
				
			
							parent
							
								
									10ecbb856b
								
							
						
					
					
						commit
						6368df0b9d
					
				| 
						 | 
					@ -66,7 +66,7 @@ arch_check() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ssh_check() {
 | 
					ssh_check() {
 | 
				
			||||||
if command -v pveversion >/dev/null 2>&1; then
 | 
					  if command -v pveversion >/dev/null 2>&1; then
 | 
				
			||||||
    if [ -n "$SSH_CLIENT" ]; then
 | 
					    if [ -n "$SSH_CLIENT" ]; then
 | 
				
			||||||
      if whiptail --defaultno --title "SSH DETECTED" --yesno "The scripts suggest using the Proxmox shell instead of SSH, since the latter can create issues while gathering variables. Would you like to proceed with using SSH?" 10 68; then
 | 
					      if whiptail --defaultno --title "SSH DETECTED" --yesno "The scripts suggest using the Proxmox shell instead of SSH, since the latter can create issues while gathering variables. Would you like to proceed with using SSH?" 10 68; then
 | 
				
			||||||
        echo "you've been warned"
 | 
					        echo "you've been warned"
 | 
				
			||||||
| 
						 | 
					@ -74,7 +74,7 @@ if command -v pveversion >/dev/null 2>&1; then
 | 
				
			||||||
        exit
 | 
					        exit
 | 
				
			||||||
      fi
 | 
					      fi
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
fi
 | 
					  fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo_default() {
 | 
					echo_default() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue