diskimage-builder/diskimage_builder/elements/fedora
Carlos Goncalves 670df3326d Fix regex for mirror URL substitution
The base URL of EPEL repository installed by the epel-release package in
CentOS 8 at least now defaults to https.

The error seen when building an CentOS 8 image was:
"Error: Cannot find a valid baseurl for repo: epel"

This patch fixes it so that it will always match regardless of being
http or https.

Change-Id: I9ec5536ee72047c929a1ef6950ff4e9092842a4c
2019-12-03 19:13:18 +01:00
..
environment.d Fedora 30 functional and boot tests 2019-08-28 11:21:46 +10:00
pre-install.d Fix regex for mirror URL substitution 2019-12-03 19:13:18 +01:00
root.d Fix Fedora aarch64 image location 2019-04-09 15:50:55 +00:00
test-elements/build-succeeds Start at using CI mirrors for fedora/centos 2017-06-21 12:02:27 +10:00
README.rst Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07: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.

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