diskimage-builder/diskimage_builder/elements/centos-minimal
Ian Wienand ddb2811255 Add environment switch for centos8 to use dnf
Set YUM to dnf for Centos 8; this matches similar done in
fedora-minimal.

Change-Id: I2b2c41a73e468fe9045ee5b7b812da66f20d8584
2019-10-03 00:22:18 +00:00
..
environment.d Add environment switch for centos8 to use dnf 2019-10-03 00:22:18 +00:00
test-elements/build-succeeds Start at using CI mirrors for fedora/centos 2017-06-21 12:02:27 +10:00
yum.repos.d yum-minimal : update mirrors for Centos 8 2019-10-03 00:22:05 +00:00
element-deps Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
element-provides Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
README.rst yum-minimal : update mirrors for Centos 8 2019-10-03 00:22:05 +00:00

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