Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions scripts/image-update
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,30 @@ function set_image_values() {
err "Unknown distro, only works for Fedora 40+"
;;
esac
elif [[ "${DISTRO_NAME}" == "alma" ]]; then
case $RELEASE_NAME in
8)
file_name="AlmaLinux-8-GenericCloud-UEFI-latest.x86_64.qcow2"
remote_url="https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-UEFI-latest.x86_64.qcow2"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never used Alma, does 9 & 10 default to UEFI? And are you choosing this version with UEFI for parity?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iirc 8 was right after CentOS went away. So, the underlying infrastructure of the image was different 9 & 10 just support it out of the box,

remote_shasum_url="https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/CHECKSUM"
shasum_algorithm="256"
;;
9)
file_name="AlmaLinux-9-GenericCloud-latest.x86_64.qcow2"
remote_url="https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2"
remote_shasum_url="https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/CHECKSUM"
shasum_algorithm="256"
;;
10)
file_name="AlmaLinux-10-GenericCloud-latest.x86_64.qcow2"
remote_url="https://repo.almalinux.org/almalinux/10/cloud/x86_64/images/AlmaLinux-10-GenericCloud-latest.x86_64.qcow2"
remote_shasum_url="https://repo.almalinux.org/almalinux/10/cloud/x86_64/images/CHECKSUM"
shasum_algorithm="256"
;;
*)
err "Unknown distro, only works for Alma 8+"
;;
esac
elif [[ "${DISTRO_NAME}" == "ubuntu" ]]; then
case $RELEASE_NAME in
focal | 20)
Expand Down