diskimage-builder/elements/fedora/finalise.d
James Slagle 15960f01cd Add ability to use local cloud image
Adds the ability to set $DIB_LOCAL_IMAGE to use as the base cloud image
for a Fedora image build. There are many repetitve tasks that are done
every image build. With this change you can build an image with the
fedora and vm element and then reuse the resulting image as input to
future image builds. This greatly reduces future image build times.

For instance 99-up-to-date is already taking almost 2 minutes (even with
rpm downloads already cached) for Fedora 20, and is only going to keep
taking longer. By having a local up to date Fedora cloud image, this
time can be saved on each image build.

There is one minor change to support this in that /tmp/grub needs to get
cleaned up at the end of image builds so that the image can be reused.
Plus, there is no reason for it to stick around anyway.  (didn't think
this was worth a seperate commit).

Change-Id: Ic74d138da922ecc99c38c27f105170d90009a84a
2014-01-28 11:01:30 -05:00
..
01-clean-old-kernels.sh Remove old-kernels for fedora 2013-10-17 11:51:44 +01:00
99-cleanup-tmp-grub Add ability to use local cloud image 2014-01-28 11:01:30 -05:00
99-setup-first-boot Refactor the first boot routine. 2013-05-16 15:50:10 +01:00