diskimage-builder/diskimage_builder/elements/fedora
Dmitriy Rabotyagov 2bfa132264 Fix baseurl for Fedora versions before 36
Fedora has moved their old images (prior to 37) to archives,
so default URIs are adjusted to reflect that.

Change-Id: I81dc6df4e4372149cffe448708ac2416d3528394
2023-08-07 14:38:05 +02: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 Fix baseurl for Fedora versions before 36 2023-08-07 14:38:05 +02:00
test-elements/build-succeeds Update fedora element testing to F35 2022-03-11 14:53:00 +11: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 Add Fedora 36 support 2022-06-21 14:47:12 +10:00

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