diskimage-builder/elements/ubuntu
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
..
finalise.d Refactor the first boot routine. 2013-05-16 15:50:10 +01:00
install.d Reinstate support for real hardware with Ubuntu. 2013-05-08 19:23:08 +12:00
pre-install.d Build images using loopdev instead of qemu-nbd. 2013-04-30 08:56:12 -07: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 Ubuntu cloud images as the baseline for built disk images.

Overrides:

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