diskimage-builder/diskimage_builder/elements/centos
Steve Baker 8059a59583 Make centos reset-bls-entries behave the same as rhel
This makes 03-reset-bls-entries consistent with rhel so that the glob
match is *.conf, and a check is added to ensure that a rename is
actually required.

Change-Id: I4adff43cf7d4f31d939e6ddf37ac8d162ccd0db7
2022-04-29 13:12:24 +12:00
..
environment.d Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
post-install.d Make centos reset-bls-entries behave the same as rhel 2022-04-29 13:12:24 +12:00
pre-install.d Move reset-bls-entries to post-install 2022-04-21 10:13:10 +12:00
root.d Use https for base centos image download 2022-01-14 10:00:15 +13:00
test-elements centos: work around 9-stream BLS issues 2021-12-22 21:07:23 +11:00
element-deps Add CentOS 8 support 2020-02-19 10:44:56 +01:00
element-provides Add CentOS 8 support 2020-02-19 10:44:56 +01:00
README.rst Cleanup more CentOS 8 bits 2022-02-01 15:39:24 +11:00

======
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``