Update install.sh
This commit is contained in:
		
							parent
							
								
									3fb96e37b2
								
							
						
					
					
						commit
						8fa6b5a556
					
				|  | @ -9,13 +9,7 @@ IMG_NAME=${2:-"noble-server-cloudimg-amd64.img"} | |||
| DISTRO=${3:-"ubuntu"}  # Default to "ubuntu" | ||||
| VERSION=${4:-"2404"}    # Default to "2404" | ||||
| STORAGE=${5:-"proxmox"} # Default to "proxmox"} | ||||
| 
 | ||||
| # Ask for starting VM ID if running with manual inputs | ||||
| if [[ -z $1 ]]; then | ||||
|     read -p "Enter the starting VM ID (e.g., 8000): " STARTING_VM_ID | ||||
| else | ||||
|     STARTING_VM_ID=8000 | ||||
| fi | ||||
| STARTING_VM_ID=${6:-8000}  # Default to 8000, can be overridden | ||||
| 
 | ||||
| check_command() { | ||||
|     if [ $? -ne 0 ]; then | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue