Specify distro release in fedora image name
The fedora element downloads the latest available image so presumably will jump to F20 once available. Probably causing several days (weeks?) of busted stuff. Of course it will be impossible to know when all users of the elements are ready to switch but the least we can do is allow a little time as a buffer. This commit ties it down to a specific version which can then be updated when the consumers of this element are ready. This allso follows the same pattern as the ubuntu element. Change-Id: I15c8e15a66e8af1bd152c27144acbc55af9da88e
This commit is contained in:
parent
126099cd6d
commit
11b116977c
@ -9,10 +9,10 @@ if [ 'amd64' = "$ARCH" ] ; then
|
|||||||
ARCH="x86_64"
|
ARCH="x86_64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DIB_RELEASE=${DIB_RELEASE:-latest}
|
DIB_RELEASE=${DIB_RELEASE:-19}
|
||||||
DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-http://cloud.fedoraproject.org}
|
DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-http://cloud.fedoraproject.org}
|
||||||
BASE_IMAGE_FILE=${BASE_IMAGE_FILE:-fedora-$DIB_RELEASE.$ARCH.qcow2}
|
BASE_IMAGE_FILE=${BASE_IMAGE_FILE:-fedora-$DIB_RELEASE.$ARCH.qcow2}
|
||||||
BASE_IMAGE_TAR=$DIB_RELEASE-Cloud-$ARCH-latest.tgz
|
BASE_IMAGE_TAR=$DIB_RELEASE-Cloud-$ARCH-$DIB_RELEASE.tgz
|
||||||
CACHED_TAR=$DIB_IMAGE_CACHE/$BASE_IMAGE_TAR
|
CACHED_TAR=$DIB_IMAGE_CACHE/$BASE_IMAGE_TAR
|
||||||
|
|
||||||
if [ -n "$DIB_OFFLINE" -a -f "$CACHED_TAR" ] ; then
|
if [ -n "$DIB_OFFLINE" -a -f "$CACHED_TAR" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user