diskimage-builder/diskimage_builder/elements/opensuse
Eduardo Santos 0f430664a2 Fix openSUSE images and bump them to 15.3
SUSE dropped OpenStack Cloud in 2019 [1], and as a result, some
OpenStack-related repositories were removed from openSUSE Download and
root filesystem images stopped being provided. This change deprecates
Leap releases before 15.3 and employs the extract-image script. It also
moves the extract-image script to the sysprep element, since now it's
also used by openSUSE-related elements.

Additionally, revert the "Remove opensuse related funtests" change [2]
so that the opensuse element is tested again and set the default Leap
release to 15.3.

[1] https://www.zdnet.com/article/suse-drops-openstacks/
[2] https://review.opendev.org/c/openstack/diskimage-builder/+/824002

Change-Id: I73d6323aa65cee69a55e54bc53ed682f096dfc89
2022-01-28 02:18:47 -03:00
..
environment.d Fix openSUSE images and bump them to 15.3 2022-01-28 02:18:47 -03:00
extra-data.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
root.d Fix openSUSE images and bump them to 15.3 2022-01-28 02:18:47 -03:00
test-elements Fix openSUSE images and bump them to 15.3 2022-01-28 02:18:47 -03:00
element-deps Clear /etc/machine-id to avoid duplicate machine-ids 2017-08-06 13:56:58 -04:00
element-provides Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
package-installs.yaml Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
README.rst Fix openSUSE images and bump them to 15.3 2022-01-28 02:18:47 -03:00

========
opensuse
========
Use an openSUSE cloud image as the baseline for built disk images. The images are
located in distribution specific sub directories under

    https://download.opensuse.org/repositories/Cloud:/Images:/

These images should be considered experimental. There are currently only x86_64
images.

Environment Variables
---------------------

DIB_RELEASE
  :Required: No
  :Default: 15.3
  :Description: Set the desired openSUSE release.

DIB_CLOUD_IMAGES
  :Required: No
  :Default: https://download.opensuse.org/repositories/Cloud:/Images:/Leap_${DIB_RELEASE}
  :Description: Set the desired URL to fetch the images from.

Notes:

* There are very frequently new automated builds that include changes that
  happen during the product maintenance. The download directories contain an
  unversioned name and a versioned name. The unversioned name will always
  point to the latest image, but will frequently change its content. The versioned
  one will never change content, but will frequently be deleted and replaced
  by a newer build with a higher version-release number.