Skip to content

Commit

Permalink
Update bashvm-cloudinit.sh
Browse files Browse the repository at this point in the history
- revert back to not use 24.04
- unstable with cloud-init
  • Loading branch information
babywhale321 authored Jun 15, 2024
1 parent c76e8b4 commit 328f6eb
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions bashvm-cloudinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ read -ep "Enter the username for the new VM (e.g., joe): " user_name
read -ep "Enter the password for the new VM (e.g., password): " user_pass
echo "1 = debian12"
echo "2 = ubuntu22.04"
echo "3 = ubuntu24.04"
echo "4 = almalinux9"
echo "3 = almalinux9"
read -ep "Enter the OS you would like (e.g., 1): " qcow2_question

if [ "$qcow2_question" == 1 ];then
Expand All @@ -27,15 +26,9 @@ elif [ "$qcow2_question" == 2 ];then
os_info="ubuntu22.04"

elif [ "$qcow2_question" == 3 ];then
qcow2_image="ubuntu-24.04-minimal-cloudimg-amd64.img"
qcow2_download="https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
os_info="ubuntu24.04"

elif [ "$qcow2_question" == 4 ];then
qcow2_image="AlmaLinux-9-GenericCloud-latest.x86_64.qcow2"
qcow2_download="https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2"
os_info="almalinux9"

else
echo "Error: Please select a valid response."
exit
Expand Down

0 comments on commit 328f6eb

Please sign in to comment.