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
..
2019-04-09 15:50:55 +00:00
2017-04-05 13:11:22 +10:00
2017-05-31 11:17:05 +07:00

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