diskimage-builder/elements/fedora
Mark McLoughlin 6c997fda97 Re-use cache_url() in fedora element.
The fedora element downloads images too, so we should re-use the caching
code from the ubuntu element.

There doesn't seem to be other examples of code shared between root.d
scripts. In the fedora and dpkg elements we copy install-packages into
the chroot, but that model doesn't apply when we're running scripts
outside of the chroot. Seems sane to just run it directly from the bin/
dir in the temporary hooks directory.

Change-Id: Iaa6aca660042fea323cab4271633a4bdbbc271b8
2013-06-20 00:04:59 +01:00
..
bin Add zlib-devel and qemu-img to fedora map-packages. 2013-06-07 16:42:39 +01:00
finalise.d Merge "Refactor the first boot routine." 2013-05-20 18:38:45 +00:00
install.d Remove obsolete Fedora rc-local install.d hook. 2013-05-31 11:29:23 +01:00
post-install.d Change the rootfs label in fedora's /etc/fstab. 2013-06-11 09:46:57 +01:00
pre-install.d Add /usr/local/bin to the secure_path variable. 2013-06-12 11:01:01 +01:00
root.d Re-use cache_url() in fedora element. 2013-06-20 00:04:59 +01:00
element-deps Re-use cache_url() in fedora element. 2013-06-20 00:04:59 +01:00
README.md Migrate cloud image URL/Release options to DIB_. 2013-04-12 14:48:54 +01:00

Use Fedora cloud images as the baseline for built disk images.

Overrides:

  • To use a non-default URL for downloading base Fedora cloud images, use the environment variable DIB_CLOUD_IMAGES
  • To download a non-default release of Fedora cloud images, use the environment variable DIB_RELEASE