diskimage-builder/diskimage_builder/elements/fedora-minimal
Clark Boylan b3e81b19e7 Remove OS CI mirror role from fedora(-minimal) tests
The fedora and fedora-minimal elements currently test Fedora <=34. The
opendev ci mirrors no longer mirror Fedora 34 which means we cannot rely
on those mirrors for these tests. Remove the mirror configuration when
testing these older Fedora builds.

Change-Id: I817b412b7f06523df635e8b16111bc1081b40f66
2022-02-18 08:11:18 -08:00
..
environment.d
test-elements/build-succeeds
yum.repos.d
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

==============
fedora-minimal
==============

*Note* as at February 2022, this element is no longer tested or used
by OpenDev.  Changes to the RPM format used by recent Fedora releases
have meant that this element can not build on Ubuntu hosts, which lack
a packaged RPM sufficient to extract the base chroot environment.  The
``fedora-containerfile`` element can be used instead of this element.

Create a minimal image based on Fedora.

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. The
element will need `python-lzma` everywhere.

Due to a bug in the released version of urlgrabber, on many systems an
installation of urlgrabber from git is required. The git repository
can be found here: http://yum.baseurl.org/gitweb?p=urlgrabber.git;a=summary

This element sets the ``DISTRO_NAME`` var to 'fedora'. The release of
fedora to be installed can be controlled through the ``DIB_RELEASE``
variable, which defaults the latest supported release.