diskimage-builder/elements
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
..
apt-sources Add element to modify /etc/apt/sources.list in dib 2013-12-18 06:01:36 -08:00
baremetal Create a new baremetal element 2014-01-21 16:48:20 +11:00
base Fixed command dib-init-system not found error 2014-01-03 17:42:21 +08:00
cache-url /bin/bash all the things. 2013-11-17 16:59:31 -06:00
cloud-init-nocloud Make cloud-init-nocloud work cross-platform. 2013-07-11 08:21:51 -07:00
debian Allow adding packages to debootstrap 2014-01-14 22:41:25 -08:00
debian-upstart Add debian-upstart for experimenting with upstart 2014-01-14 22:41:25 -08:00
deploy /bin/bash all the things. 2013-11-17 16:59:31 -06:00
deploy-ironic Fix the curl command in the ironic-deploy element 2014-01-16 13:16:47 +00:00
deploy-kexec /bin/bash all the things. 2013-11-17 16:59:31 -06:00
dhcp-all-interfaces Retry link check up to 10 times. 2014-01-13 13:58:42 -05:00
dib-run-parts dib-run-parts should dereference symlinks 2014-01-15 14:57:08 -05:00
disable-selinux/post-install.d Modify /etc/selinux/config if it exists 2013-12-03 15:35:49 +08:00
dkms /bin/bash all the things. 2013-11-17 16:59:31 -06:00
dpkg Mark install-packages +x. 2014-01-07 07:54:47 -05:00
dracut-network /bin/bash all the things. 2013-11-17 16:59:31 -06:00
fedora Add ability to use local cloud image 2014-01-28 11:01:30 -05:00
hwburnin Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
hwdiscovery Make pxe_mac accurate in two common cases. 2013-11-17 21:43:59 -06:00
local-config local-config: Configure proxy for zypper repos 2013-12-10 15:54:59 +01:00
mellanox Split network bringup out of base ramdisk init. 2013-11-17 20:37:26 +00:00
modprobe-blacklist Add new modprobe-blacklist element. 2014-01-13 15:43:29 -05:00
opensuse Fix mysql package mappings for opensuse 2014-01-20 18:52:22 +01:00
pip-cache Add a pip-cache element. 2013-08-26 15:17:41 -04:00
pypi Remove github references 2013-09-18 08:17:10 -05:00
ramdisk Wait for tgtd socket to be available 2014-01-14 12:53:03 -05:00
rhel fedora/RHEL: use env from /usr/bin 2014-01-20 16:16:41 +01:00
rpm-distro /bin/bash all the things. 2013-11-17 16:59:31 -06:00
selinux-permissive /bin/bash all the things. 2013-11-17 16:59:31 -06:00
serial-console Implement serial-console for systemd. 2014-01-13 13:02:54 -05:00
source-repositories Symlink correct element install type 2014-01-15 14:57:08 -05:00
ubuntu Allow use of mirrors when building Ubuntu images 2014-01-20 15:07:04 +11:00
vm Merge force-text-mode-console into the bootloader script 2013-12-16 13:58:42 +01:00
yum Fix $TARGET_ROOT usage in yum element 2013-12-10 17:56:42 +01:00
zypper Add zypper element 2013-12-11 17:09:24 +01:00