diskimage-builder/diskimage_builder/elements
Carlos Goncalves 1f9619cdb5 Download latest CentOS cloud image
DIB was retrieving the oldest cloud image file which, presently, means
retrieving CentOS 8.1 instead of CentOS 8.2. Even though DIB runs a
system update and so catches up to latest, this takes bandwidth, time
and final image space (8.1 + system update = 765M qcow2, vs 8.2 + system
update = 518M qcow2).

This patch fixes that by taking the first image name in a descending
order list.

Change-Id: I648fe19f1f76c03c97492b6ac7be6381f6f9261b
2020-06-22 11:03:36 +02:00
..
apt-conf Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
apt-preferences
apt-sources
baremetal
base Debuntu: add apt-transport-https 2020-04-02 10:11:35 +11:00
block-device-efi Increase size of EFI system partition (again) 2019-05-31 17:10:08 +10:00
block-device-gpt Choose appropriate bootloader for block-device 2018-02-23 10:04:44 +11:00
block-device-mbr Choose appropriate bootloader for block-device 2018-02-23 10:04:44 +11:00
bootloader update grub cmdline to current kernel parameters 2020-06-14 00:39:42 -05:00
cache-url Fix cache-url -f 2020-02-05 10:19:12 +01:00
centos Download latest CentOS cloud image 2020-06-22 11:03:36 +02:00
centos7 Add CentOS 8 support 2020-02-19 10:44:56 +01:00
centos-minimal Add support for CentOS 8 Stream 2020-06-22 10:36:30 +02:00
cleanup-kernel-initrd
cloud-init Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
cloud-init-datasources Drop support for Ubuntu precise 2017-05-31 14:36:30 +02:00
cloud-init-disable-resizefs
cloud-init-nocloud
debian Fix element-provides in debian element 2018-03-26 10:58:04 -07:00
debian-minimal Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
debian-systemd Install systemd earlier for Stretch 2017-06-19 13:27:33 +10:00
debian-upstart Install systemd earlier for Stretch 2017-06-19 13:27:33 +10:00
debootstrap Ensure machine-id is not included in images 2019-09-20 03:17:50 +00:00
deploy-baremetal
deploy-kexec
deploy-targetcli Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-tgtadm
devuser install sudo in the devuser element 2018-03-22 00:16:09 -05:00
dhcp-all-interfaces Merge "Install ndisc6 package in element script" 2019-12-03 22:41:09 +00:00
dib-init-system Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
dib-python Add support for CentOS 8 Stream 2020-06-22 10:36:30 +02:00
dib-run-parts Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
disable-nouveau Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00
disable-selinux dib-lint: test elements have README.rst file 2020-01-20 11:43:43 +01:00
dkms Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
docker
dpkg Adds support for GPG keyring 2019-11-07 17:32:05 -03:00
dracut-network Remove dracut-network element 2017-05-31 08:36:56 +10:00
dracut-ramdisk Merge "Remove use of 'which'." 2017-06-11 09:30:34 +00:00
dracut-regenerate Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00
dynamic-login Release 1.25.2 2017-02-02 11:20:00 +11:00
element-manifest Release 1.24.0 2017-01-31 14:14:19 +11:00
enable-serial-console Release 1.25.2 2017-02-02 11:20:00 +11:00
ensure-venv Add ensure-venv element, install glean with it 2020-03-10 11:57:43 +11:00
epel Fix regex for mirror URL substitution 2019-12-03 19:13:18 +01:00
fedora Add Fedora 31 support and test jobs 2020-03-30 08:47:00 +11:00
fedora-minimal Add Fedora 31 support and test jobs 2020-03-30 08:47:00 +11:00
gentoo use stage3 instead of stage4 for gentoo builds 2020-05-27 18:50:16 -05:00
growroot Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
grub2 Use x86 architeture specific grub2 packages for RHEL 2019-09-12 15:06:17 -04:00
hpdsa fail early when lates build information can not be fetched 2019-05-31 16:09:25 +10:00
hwburnin Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
hwdiscovery
ibft-interfaces Add an element to configure iBFT network interfaces 2018-11-20 14:11:11 +01:00
ilo
install-bin pip-and-virtualenv: drop f31 & tumbleweed, rework suse 15 install 2020-04-23 08:10:26 +10:00
install-static Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-types
ironic-agent Merge "Change tgt pkg-map to target-restore CentOS/RHEL-8" 2020-02-26 04:05:56 +00:00
iscsi-boot fix iscsi-boot element exiting build even if dracut-regenerate used 2020-02-12 09:09:20 +00:00
iso Fix for rhel7 iso image creation. 2018-02-28 06:31:34 -06:00
journal-to-console journal-to-console: element to send systemd journal to console 2019-07-25 11:24:49 +10:00
local-config
lvm [lvm] Add Ubuntu bionic as supported distro 2019-03-04 15:05:37 -05:00
manifests
mellanox Mellanox element: removed ibutils,libibcm,libmlx4-dev 2020-03-23 00:06:53 +02:00
modprobe modprobe.d: use $TMP_MOUNT_PATH 2019-12-18 11:42:02 -05:00
modprobe-blacklist Add new modprobe element 2018-06-28 13:55:53 +02:00
no-final-image Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
oat-client Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
openssh-server openssh-server: harden sshd config 2019-05-01 11:42:21 -04:00
openstack-ci-mirrors Merge "Add arm64 based functional test" 2019-12-16 21:31:51 +00:00
opensuse Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
opensuse-minimal Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
package-installs package-installs : allow a list of parameters 2020-05-27 06:17:57 +10:00
pip-and-virtualenv Add support for CentOS 8 Stream 2020-06-22 10:36:30 +02:00
pip-cache Fix DIB ubuntu-minimal running on bionic (18.04) 2018-10-01 19:59:30 -07:00
pkg-map Add support for CentOS 8 Stream 2020-06-22 10:36:30 +02:00
posix
proliant-tools Trivial: update url to new url 2018-05-13 23:06:00 +08:00
pypi Stop installing pydistutils.cfg 2019-11-25 11:46:42 +11:00
python-brickclient Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
python-stow-versions Add python-stow-versions element 2020-03-19 21:21:01 +02:00
ramdisk
ramdisk-base Remove use of 'which'. 2017-05-19 12:43:36 -07:00
rax-nova-agent Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
redhat-common Use rpm -e instead of dnf for cleaning old kernels 2020-03-19 22:35:23 +01:00
rhel Create /etc/machine-id for RHEL images 2019-08-07 18:18:34 +10:00
rhel7 Deprecate rhel7 in favor of rhel 2019-05-29 12:07:44 +00:00
rhel-common Add version-less RHEL element for RHEL7 and RHEL8 2019-05-29 11:28:53 +03:00
rpm-distro dib-lint: test elements have README.rst file 2020-01-20 11:43:43 +01:00
runtime-ssh-host-keys Release 1.21.1 2017-02-02 20:36:23 +11:00
select-boot-kernel-initrd
selinux-permissive move selinux-permissive configure to pre-install phase 2018-11-19 13:13:57 +11:00
simple-init Add support for CentOS 8 Stream 2020-06-22 10:36:30 +02:00
source-repositories fail early when lates build information can not be fetched 2019-05-31 16:09:25 +10:00
stable-interface-names
svc-map Add version-less RHEL element for RHEL7 and RHEL8 2019-05-29 11:28:53 +03:00
sysctl
sysprep Ensure machine-id is not included in images 2019-09-20 03:17:50 +00:00
uboot
ubuntu Fixes DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE matching when empty 2019-08-09 10:26:48 +00:00
ubuntu-common Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
ubuntu-minimal Revert "Revert "ubuntu-minimal : only install 16.04 HWE kernel on xenial"" 2020-05-27 06:18:02 +10:00
ubuntu-signed Use sphinx warning-is-error 2017-03-14 14:49:49 +11:00
ubuntu-systemd-container Add ubuntu-systemd-container operating-system element 2018-10-31 14:22:28 +11:00
vm Add block-device defaults 2018-02-23 10:04:40 +11:00
yum Use $YUM instead of direct calls in more places 2019-10-03 00:22:18 +00:00
yum-minimal Add support for CentOS 8 Stream 2020-06-22 10:36:30 +02:00
zipl Delete the duplicate words in 50-zipl 2019-01-07 10:02:35 +08:00
zypper Fix login.defs config for tumbleweed 2019-12-02 16:21:45 -08:00
zypper-minimal Pre-install xz package in opensuse chroot 2020-05-27 10:45:03 -07:00
__init__.py Fix unit tests for elements 2018-11-28 11:04:50 +11:00