Merge "Fix Fedora aarch64 image location"

This commit is contained in:
Zuul 2019-04-18 12:22:06 +00:00 committed by Gerrit Code Review
commit 6a4bf78e0c

View File

@ -25,14 +25,14 @@ if [ -n "$DIB_LOCAL_IMAGE" ]; then
else
# note default DIB_RELEASE set in environment setup
case ${ARCH} in
x86_64)
x86_64|aarch64)
if [[ ${DIB_RELEASE} -ge 28 ]]; then
DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-https://download.fedoraproject.org/pub/fedora/linux/releases/${DIB_RELEASE}/Cloud/${ARCH}/images}
else
DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-https://download.fedoraproject.org/pub/fedora/linux/releases/${DIB_RELEASE}/CloudImages/${ARCH}/images}
fi
;;
aarch64|ppc64|ppc64le)
ppc64|ppc64le)
if [[ ${DIB_RELEASE} -ge 28 ]]; then
DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-https://dl.fedoraproject.org/pub/fedora-secondary/releases/${DIB_RELEASE}/Cloud/${ARCH}/images}
else