
The repo format has slightly changed for CentOS 8 (s/os/baseos/). Make the chroot builder look for a more specific repos.d directory first named for the distro variable, then fall back to to top-level dir (this avoids having to constantly change fedora). Update the gate mirror setup and roles for new Centos 8 paths too. Change-Id: I5b7f0c3624cac1d7aa7ed8bf6286b85d808b9c9a
601 B
601 B
centos-minimal
Create a minimal image based on CentOS
Use of this element will require 'yum' and 'yum-utils' to be installed on Ubuntu and Debian. Nothing additional is needed on Fedora or CentOS.
By default, DIB_YUM_MINIMAL_CREATE_INTERFACES
is set to
enable the creation of
/etc/sysconfig/network-scripts/ifcfg-eth[0|1]
scripts to
enable DHCP on the eth0
& eth1
interfaces.
If you do not have these interfaces, or if you are using something else
to setup the network such as cloud-init, glean or network-manager, you
would want to set this to 0
.