Merge "Cleanup more CentOS 8 bits"

This commit is contained in:
Zuul 2022-02-09 04:39:00 +00:00 committed by Gerrit Code Review
commit 052a1df774
14 changed files with 1 additions and 53 deletions

View File

@ -1,4 +0,0 @@
Verify we can build a centos-minimal image.
Note this test includes the vm element to test the bootloader install,
and specifies to output a .qcow2

View File

@ -1,3 +0,0 @@
block-device-efi
openstack-ci-mirrors
vm

View File

@ -1 +0,0 @@
Verify we can build a centos-minimal image.

View File

@ -1,5 +0,0 @@
[centos-appstream]
name=CentOS-$releasever - AppStream
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=appstream
gpgcheck=0

View File

@ -1,5 +0,0 @@
[centos-base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=baseos
gpgcheck=0

View File

@ -14,7 +14,7 @@ DIB_DISTRIBUTION_MIRROR:
:Default: None :Default: None
:Description: To use a CentOS Yum mirror, set this variable to the mirror URL :Description: To use a CentOS Yum mirror, set this variable to the mirror URL
before running bin/disk-image-create. This URL should point to before running bin/disk-image-create. This URL should point to
the directory containing the ``7/8/8-stream`` directories. the directory containing the ``7/8-stream/9-stream`` directories.
:Example: ``DIB_DISTRIBUTION_MIRROR=http://amirror.com/centos`` :Example: ``DIB_DISTRIBUTION_MIRROR=http://amirror.com/centos``
DIB_CLOUD_IMAGES: DIB_CLOUD_IMAGES:

View File

@ -22,23 +22,6 @@
- updates.repo - updates.repo
- extras.repo - extras.repo
- name: Create centos-minimal 8 directory
file:
path: "{{ dib_gate_mirror_repos }}/centos-minimal/8/yum.repos.d"
state: directory
mode: 0775
recurse: yes
- name: Install centos-minimal 8 repo files
template:
dest: "{{ dib_gate_mirror_repos }}/centos-minimal/8/yum.repos.d/dib-mirror-{{ item }}"
mode: 0644
src: "centos-minimal/8/{{ item }}.j2"
with_items:
- base.repo
- appstream.repo
- extras.repo
- name: Create centos-minimal 8-stream directory - name: Create centos-minimal 8-stream directory
file: file:
path: "{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d" path: "{{ dib_gate_mirror_repos }}/centos-minimal/8-stream/yum.repos.d"

View File

@ -1,4 +0,0 @@
[AppStream]
name=CentOS-$releasever - AppStream
baseurl=http://{{ mirror_fqdn }}/centos/$releasever/AppStream/$basearch/os/
gpgcheck=0

View File

@ -1,4 +0,0 @@
[base]
name=CentOS-$releasever - Base
baseurl=http://{{ mirror_fqdn }}/centos/$releasever/BaseOS/$basearch/os/
gpgcheck=0

View File

@ -1,5 +0,0 @@
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=http://{{ mirror_fqdn }}/centos/$releasever/extras/$basearch/os/
gpgcheck=0