diskimage-builder/diskimage_builder/elements/ubuntu
Ian Wienand b25d0337b8 Move to a common lock-file directory
In a couple of places we use flock for critical sections, but we leave
lockfiles around in various locations which can be confusing.

Introduce DIB_LOCKFILES global (under ~/.cache/dib/lockfiles) and
write lockfiles in there.

Fix up removal of the lockfile in the yum path; we just want to make
sure we cleanup the .rpmmacros file, but we don't need to remove the
lockfile as well.

Co-Authored-By: Andreas Florath <andreas@florath.net>

Change-Id: Ie810b2836be521325afe923708d046112e1e1e20
2017-10-26 16:27:59 +11:00
..
environment.d Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-18 13:53:56 +11:00
install.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
pre-install.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
root.d Move to a common lock-file directory 2017-10-26 16:27:59 +11:00
test-elements Move image download tests to default skip 2017-06-23 10:58:47 +10:00
README.rst Unify and fix doc of several Debian and Ubuntu elements 2017-04-07 05:56:50 +00:00
element-deps Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
element-provides Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
package-installs.yaml Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00

README.rst

ubuntu

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. This element will export the DIB_RELEASE variable.