Fix Fedora aarch64 image location

It used to be considered a 'secondary architecture' but that
is not the case anymore.

Change-Id: I8e5e9cfa915c8a3c979ff9db26477c0542d271db
This commit is contained in:
Pedro Alvarez 2019-04-09 15:49:37 +00:00
parent 36b4bc87f9
commit f034dd00d9
1 changed files with 2 additions and 2 deletions

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