mirror of
				https://github.com/tteck/Proxmox.git
				synced 2025-10-31 02:49:19 +00:00 
			
		
		
		
	Update debian-v3.sh
This commit is contained in:
		
							parent
							
								
									512da0f278
								
							
						
					
					
						commit
						58c1d281a0
					
				| @ -10,7 +10,7 @@ GN=`echo "\033[32m"` | |||||||
| CL=`echo "\033[m"` | CL=`echo "\033[m"` | ||||||
| APP="Debian" | APP="Debian" | ||||||
| NSAPP=$(echo ${APP,,} | tr -d ' ') | NSAPP=$(echo ${APP,,} | tr -d ' ') | ||||||
| 
 | PVE=$(pveversion | grep "pve-manager/7" | wc -l) | ||||||
| while true; do | while true; do | ||||||
|     read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn |     read -p "This will create a New ${APP} LXC. Proceed(y/n)?" yn | ||||||
|     case $yn in |     case $yn in | ||||||
| @ -33,9 +33,9 @@ ${CL}" | |||||||
| 
 | 
 | ||||||
| header_info | header_info | ||||||
| 
 | 
 | ||||||
| function pve_7() { | function PVE_CHECK() { | ||||||
| if [ `pveversion | grep "pve-manager/7" | wc -l` -ne 1 ]; then | if [[ $PVE != 1 ]]; then | ||||||
|         echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater" |         echo -e "${RD}This script requires Proxmox Virtual Environment 7.0 or greater${CL}" | ||||||
|         echo -e "Exiting..." |         echo -e "Exiting..." | ||||||
|         sleep 2 |         sleep 2 | ||||||
|         exit |         exit | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user