2015-03-22 14:04:46 +00: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.
|
|
|
|
|
2015-12-14 04:26:11 +00:00
|
|
|
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`.
|
2017-06-20 00:42:10 +00:00
|
|
|
|
|
|
|
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.
|
2019-08-15 14:20:21 +00:00
|
|
|
|
|
|
|
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.
|
2021-07-27 17:45:50 +00:00
|
|
|
|
|
|
|
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.
|