2015-02-07 10:30:02 +00:00
|
|
|
==============
|
|
|
|
centos-minimal
|
|
|
|
==============
|
2019-09-25 00:53:39 +00:00
|
|
|
Create a minimal image based on CentOS
|
2014-11-22 23:46:33 +00:00
|
|
|
|
2015-03-22 17:45:07 +00:00
|
|
|
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.
|
2014-11-22 23:46:33 +00:00
|
|
|
|
2020-02-19 09:37:26 +00:00
|
|
|
By default this builds CentOS 7 images. Set ``DIB_RELEASE`` to ``7``,
|
|
|
|
``8`` or ``8-stream`` to explicitly select the release.
|
2019-09-26 01:11:36 +00:00
|
|
|
|
2019-09-25 05:43:01 +00:00
|
|
|
For CentOS 7, 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
|
2020-02-19 09:37:26 +00:00
|
|
|
this to ``0``. For CentOS 8 and CentOS 8 Stream, this is set to ``0`` by
|
|
|
|
default as the system uses NetworkManager by default.
|