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

View File

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