fix: URL of openSUSE Leap 16.0 ISO URL

The fallback else case doesn't work for OpenSUSE Leap 16.
This commit is contained in:
Rémi Palancher 2025-12-04 20:49:49 +01:00
parent 703fe861f8
commit bfbf180920
1 changed files with 3 additions and 0 deletions

View File

@ -2316,6 +2316,9 @@ function get_opensuse() {
elif [ "${RELEASE}" == 15.0 ] || [ "${RELEASE}" == 15.1 ]; then
ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso"
elif [ "${RELEASE}" == 16.0 ]; then
ISO="Leap-${RELEASE}-online-installer-x86_64.install.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/offline"
else
ISO="openSUSE-Leap-${RELEASE}-DVD-x86_64-Current.iso"
URL="https://download.opensuse.org/distribution/leap/${RELEASE}/iso"