
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
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 theDIB_RELEASE
variable.