diskimage-builder/diskimage_builder/elements/centos/README.rst
Julia Kreger b8ed6035d5 Change centos DIB_RELEASE default to 9-stream
Since the public mirrors for centos8 are really not available
anymore since it has gone End of Life, changes the default
invocation for a quick disk image to 9-stream.

Users who wish specific behavior should explicitly express
the version they desire.

Change-Id: I12cb10258ab80bae1c754e86aadcf926cdfae805
2024-08-02 12:52:13 -07:00

1.2 KiB

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-stream/9-stream 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

DIB_RELEASE:
Required

No

Description

To override the release to build, utilize this paraemter. Presently defaults to 9-stream, however may be changed by diskimage-builder to newer versions as the distribution versions move through their lifecycle.