ironic-python-agent-builder/dib/ironic-python-agent-ramdisk/environment.d/01-debian-ipa.bash
Dmitry Tantsur db238b9c99 Make the debian job voting and start publishing debian images
With only 270MiB in size, the Debian images are likely candidates
for our future default images. Given that CentOS Stream 8 images
are nearly 500MiB in size, Debian may be our only path forward.

Enable installing firmware on Debian images to make them suitable
for bare metal installations.

Do not try to install biosdevname on non-RH systems.

Change-Id: I2c2a71c4afd0cd534961317b7fe9d3fb5d007d24
2020-12-16 19:48:49 +01:00

9 lines
257 B
Bash

# IPA is built with non-free firmware by default.
export DIB_DEBIAN_COMPONENTS=${DIB_DEBIAN_COMPONENTS:-main,contrib,non-free}
if [[ $DIB_DEBIAN_COMPONENTS =~ non-free ]]; then
export IPA_DEBIAN_NONFREE=true
else
export IPA_DEBIAN_NONFREE=false
fi