diskimage-builder/diskimage_builder/elements/yum-minimal
Erik Berg b78afe4c62
Fix double-keyed json
The second release masks the first release, which is probably a
mistake.

Order them from most significant to least;
release > distro > family > default

And fix up the indentation.

Change-Id: I54a6a49d4fe001b1a16ab38637cb55542ce96cdb
2023-03-03 12:04:30 +01:00
..
cleanup.d Start at using CI mirrors for fedora/centos 2017-06-21 12:02:27 +10:00
install.d Only enable dbus-daemon on fedora-29 2019-07-12 10:21:49 -07:00
pre-install.d Update locales for Centos 8 2019-10-03 00:22:18 +00:00
root.d yum-minimal: workaround missing $releasedir variable 2022-05-03 15:47:55 +00:00
element-deps Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
package-installs.yaml Add support for CentOS Stream 9 in DIB 2021-10-27 13:38:14 +02:00
pkg-map Fix double-keyed json 2023-03-03 12:04:30 +01:00
README.rst Permit specification of extra bootstrap packages 2021-08-02 11:57:11 -07:00

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

If you wish to include extra repositories, set ``DIB_YUM_MINIMAL_EXTRA_REPOS``
to a directory with the ``.repo`` files. The repo files will not be removed
from the final image.

If you are bootstrapping a custom or unsupported OS, and need to install
additional packages to setup the base chroot, set
``DIB_YUM_MINIMAL_BOOTSTRAP_PACKAGES`` to the list of additional packages to
install.