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 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