0eccd2808c
In our official image builds we are only allowed to use resources that are "blessed" by the build system. This means that external things like git repos and tar files are not allowed. Currently, even in offline mode source-repositories expects those things to be available in the cache, so we need a way to disable it entirely. This change adds an environment variable NO_SOURCE_REPOSITORIES that does so. It can be set in an environment.d script so elements that might rely on a source repository will know it's not available. The 02-lsb script in redhat-common is one such example and is updated to handle this case. Change-Id: I0de63bee6ad79733d6711478c707a9b41593e85f |
||
---|---|---|
.. | ||
bin | ||
finalise.d | ||
install.d | ||
pre-install.d | ||
element-deps | ||
README.md |
Image installation steps common to RHEL and Fedora.
Overrides:
- To use a non-default URL for downloading base cloud images, use the environment variable DIB_CLOUD_IMAGES
- To download a non-default release of cloud images, use the environment variable DIB_RELEASE
- Alternatively, set DIB_LOCAL_IMAGE to the local path of a qcow2 cloud image. This is useful in that you can use a customized or previously built cloud image from diskimage-builder as input. The cloud image does not have to have been built by diskimage-builder. It should be a full disk image, not just a filesystem image.