From 11b116977c7c3b9d10615b29e44f27b79717d877 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Thu, 10 Oct 2013 08:05:15 +0100 Subject: [PATCH] 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 --- elements/fedora/root.d/10-fedora-cloud-image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/elements/fedora/root.d/10-fedora-cloud-image b/elements/fedora/root.d/10-fedora-cloud-image index 29f0f255..34e25f1b 100755 --- a/elements/fedora/root.d/10-fedora-cloud-image +++ b/elements/fedora/root.d/10-fedora-cloud-image @@ -9,10 +9,10 @@ if [ 'amd64' = "$ARCH" ] ; then ARCH="x86_64" fi -DIB_RELEASE=${DIB_RELEASE:-latest} +DIB_RELEASE=${DIB_RELEASE:-19} DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-http://cloud.fedoraproject.org} 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 if [ -n "$DIB_OFFLINE" -a -f "$CACHED_TAR" ] ; then