
I'm uncertain as to why this is using the "fedora" element for testing ... but it requires downloading the fedora .qcow on every test which has shown to be unreliable. An easy thing to do is to switch it to fedora-minimal; that will only involve downloads from local mirrors in the gate. Add redhat-rpm-config for minimal. I admit I have not fully gone through why this is not pulled in. It's been an issue since I459f2203fa145049dda185da952813118193d573 and there's all sorts of bugs. Change-Id: I37458e3926dae32a259bd5aa9efc645561b029a0
yum-minimal
Base element for creating minimal yum-based images.
This element is incomplete by itself, you'll want to use the centos-minimal or fedora-minimal elements to get an actual base image.
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.
If you wish to have DHCP networking setup for eth0 & eth1 via /etc/sysconfig/network-config scripts/ifcfg-eth[0|1], set the environment variable DIB_YUM_MINIMAL_CREATE_INTERFACES to 1.
If you wish to build from specific mirrors, set
DIB_YUM_MINIMAL_BOOTSTRAP_REPOS
to a directory with the
.repo
files to use during bootstrap and build. The repo
files should be named with a prefix dib-mirror-
and will be
removed from the final image.