Update install.sh

This commit is contained in:
colin 2024-08-12 10:12:49 -04:00
parent 3fb96e37b2
commit 8fa6b5a556
1 changed files with 1 additions and 7 deletions

View File

@ -9,13 +9,7 @@ IMG_NAME=${2:-"noble-server-cloudimg-amd64.img"}
DISTRO=${3:-"ubuntu"} # Default to "ubuntu" DISTRO=${3:-"ubuntu"} # Default to "ubuntu"
VERSION=${4:-"2404"} # Default to "2404" VERSION=${4:-"2404"} # Default to "2404"
STORAGE=${5:-"proxmox"} # Default to "proxmox"} STORAGE=${5:-"proxmox"} # Default to "proxmox"}
STARTING_VM_ID=${6:-8000} # Default to 8000, can be overridden
# 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
check_command() { check_command() {
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then