1f9619cdb5
DIB was retrieving the oldest cloud image file which, presently, means retrieving CentOS 8.1 instead of CentOS 8.2. Even though DIB runs a system update and so catches up to latest, this takes bandwidth, time and final image space (8.1 + system update = 765M qcow2, vs 8.2 + system update = 518M qcow2). This patch fixes that by taking the first image name in a descending order list. Change-Id: I648fe19f1f76c03c97492b6ac7be6381f6f9261b |
||
---|---|---|
.. | ||
environment.d | ||
pre-install.d | ||
root.d | ||
test-elements/8-build-succeeds | ||
element-deps | ||
element-provides | ||
README.rst |
====== centos ====== Use CentOS cloud images as the baseline for built disk images. For further details see the redhat-common README. Environment Variables --------------------- DIB_DISTRIBUTION_MIRROR: :Required: No :Default: None :Description: To use a CentOS Yum mirror, set this variable to the mirror URL before running bin/disk-image-create. This URL should point to the directory containing the ``7/8`` directories. :Example: ``DIB_DISTRIBUTION_MIRROR=http://amirror.com/centos`` DIB_CLOUD_IMAGES: :Required: No :Description: Set the desired URL to fetch the images from. ppc64le: Currently the CentOS community is working on providing the ppc64le images. Until then you'll need to set this to a local image file. :Example: ``DIB_CLOUD_IMAGES=/path/to/my/centos/8/CentOS-8-GenericCloud-x86_64.qcow2``