diskimage-builder/diskimage_builder/elements/fedora
Clark Boylan 94a1562763 Write fedora download redirect info to stderr
This will allow us to debug potentially bad fedora download backend
locations that don't provide valid subreleases in file paths. To do this
we ask curl to write headers (-i) and then dump the headers (-D) to
stderr. This should keep the debug info out of the parsing path for
subrelease info.

Change-Id: I07dd6ec4087191e1c688968be2fe1a1423a26b9e
2024-02-06 15:27:00 -08:00
..
environment.d Update Fedora to 37 2023-03-15 16:18:22 +11:00
pre-install.d Fix hooks order for CentOS/Fedora when mirror used 2021-03-04 10:54:52 +00:00
root.d Write fedora download redirect info to stderr 2024-02-06 15:27:00 -08:00
test-elements/build-succeeds Update fedora element testing to F35 2022-03-11 14:53:00 +11:00
README.rst Add Fedora 36 support 2022-06-21 14:47:12 +10:00
element-deps Run dib-run-parts out of /tmp 2017-04-05 13:11:22 +10:00
element-provides Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
package-installs.yaml Trivial fix typos 2017-05-31 11:17:05 +07:00

README.rst

fedora

Use Fedora cloud images as the baseline for built disk images. For further details see the redhat-common README.

Releases

This element targets the current and previous version of Fedora; these values clearly changes over time. To fix the version set the DIB_RELEASE variable to the Fedora version (e.g. 36). The default value is the current best supported version (i.e. it may change upward at any given release to support the next Fedora).

Environment Variables

DIB_DISTRIBUTION_MIRROR:
Required

No

Default

None

Description

To use a Fedora Yum mirror, set this variable to the mirror URL before running bin/disk-image-create. This URL should point to the directory containing the releases/updates/development and extras directories.

Example

DIB\_DISTRIBUTION\_MIRROR=http://download.fedoraproject.org/pub/fedora/linux