On 07/09/2013 04:11 PM, Lucas Alvares Gomes wrote:
Would be cool as well to have a persistent file name for the last
image created, e.g Fedora-x86_64-19-latest-sda.qcow2
Just before I sent my email, Matthew Miller sent an email with these short URLs:
(Only qcow2 for now)
======
These links all work now:
http://cloud.fedoraproject.org/fedora-19.x86_64.qcow2
http://cloud.fedoraproject.org/fedora-19.i386.qcow2
http://cloud.fedoraproject.org/fedora-latest.i386.qcow2
http://cloud.fedoraproject.org/fedora-latest.x86_64.qcow2
(They will redirect to a mirror link provided by mirrormanager.)
======
Cheers,
Lucas
----- Original Message -----
> From: "Kashyap Chamarthy" <kchamart(a)redhat.com>
> To: "Fedora Cloud SIG" <cloud(a)lists.fedoraproject.org>, "Matthew
Miller" <mattdm(a)fedoraproject.org>
> Cc: "Lucas Alvares Gomes Martins" <lmartins(a)redhat.com>
> Sent: Tuesday, July 9, 2013 10:27:12 AM
> Subject: Persistent URLs for Fedora Cloud images
>
> Heya,
>
>
> I know Matt is working to get Fedora cloud images in shape.
>
> It'd be nice to have Fedora Cloud image URLs be persistent (if they change,
> maybe symlinks
> can be created?)
>
> For instance, OpenStack's diskimage-builder hard codes[1] path to Fedora 18
> images
>
> -----
> [...]
>
DIB_CLOUD_IMAGES=${DIB_CLOUD_IMAGES:-http://mattdm.fedorapeople.org/cloud...
> DIB_RELEASE=${DIB_RELEASE:-Fedora18}
> BASE_IMAGE_FILE=${BASE_IMAGE_FILE:-$DIB_RELEASE-Cloud-$ARCH-latest.qcow2}
> BASE_IMAGE_TAR=$DIB_RELEASE-Cloud-$ARCH-latest.tgz
>
> echo "Fetching Base Image"
> $TMP_HOOKS_PATH/bin/cache-url $DIB_CLOUD_IMAGES/$BASE_IMAGE_FILE
> $IMG_PATH/$BASE_IMAGE_FILE
> [...]
> -----
>
> And, now it throws an HTTP 302 response from the server while trying to fetch
> either F18
> or F19 images, although the absolute path to F18 qcow2 image is available via
> wget.
>
> Something has changed on the server.
>
> Can we please try to make these URLs persistent?
>
> Thanks.
>
> ~~~~~~
> [1]
>
https://github.com/stackforge/diskimage-builder/blob/master/elements/fedo...
>
>
>
> --
> /kashyap
>
--
/kashyap