53d04d27c6
Per the bug mentioned upstream, grub2-mkconfig will currently not set the kernel options for BLS entries prefixed with a machine-id different to the running system. This affects the centos element, as the upstream .qcow2 comes with a pre-existing BLS entry but a blank machine-id. This only affects 9-stream -- prior releases either don't use BLS or have entries configured to use a common variable from grubenv which is updated correctly. We currently can not end-to-end test this in OpenDev because we run our functional tests on Ubuntu Focal (they use devstack), whose kernel can not read the XFS format on the 9-stream .qcow2. This expands the functional tests (that run on Debian Buster, with a later kernel) to add the vm element, so the bootloader path is exercised (this requires a block-device too). This at least runs the bootloader install, we can confirm the kernel options look right from the dumping provided the logs. Change-Id: I327f5e7a95e47905c01138c8c4483f3f03e8efff |
||
---|---|---|
.. | ||
environment.d | ||
pre-install.d | ||
root.d | ||
test-elements | ||
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/8-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``