9f688f53da
With the introduction of centos 8 we have constructs like if [[ $DISTRO =~ (centos|fedora) && $DIB_RELEASE -ge 8 ]] This is intended to match the "centos7" element (from the =~) but it was missed that this is setting the DIB_RELEASE to "GenericCloud". I think it makes more sense for this to be a numeric release, and makes constructs like above work. There really isn't any other type of image to choose here; thus we move it into a new, centos7 specific variable. Note that when the centos 8 images are available, we want to move to a generic "centos" element that will handle both 7 and 8 together (same as rhel) based on DIB_RELEASE and deprecate centos7; this works with that environment too. Change-Id: I2e6b7848070d6452c0563e2a122447627c6e6bf7 |
||
---|---|---|
.. | ||
environment.d | ||
pre-install.d | ||
root.d | ||
test-elements/build-succeeds | ||
element-deps | ||
element-provides | ||
README.rst |
centos7
Use CentOS 7 cloud images as the baseline for built disk images.
For further details see the redhat-common README.
- 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
5/6/7
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/7/CentOS-7-x86_64-GenericCloud.qcow2.xz