Dmitriy Rabotyagov 7cd5268d15 Fix regexp for Fedora element SUBRELEASE parsing
Current regexp  is catching a wrong extra record for HTML-based mirrors [1]

Modifying regexp allows to workaround fetching extra string.

[1] https://paste.openstack.org/show/bVBUEW88mDF58OKKp3kw/

Change-Id: Ibd8806cad10ad7d993b7953eee2d456e92a8f7cf
2024-07-11 12:31:45 +00:00
..
2023-03-15 16:18:22 +11:00
2017-04-05 13:11:22 +10:00
2017-05-31 11:17:05 +07:00
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