forked from openstack/diskimage-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yum-minimal : update mirrors for Centos 8
The repo format has slightly changed for CentOS 8 (s/os/baseos/). Make the chroot builder look for a more specific repos.d directory first named for the distro variable, then fall back to to top-level dir (this avoids having to constantly change fedora). Update the gate mirror setup and roles for new Centos 8 paths too. Change-Id: I5b7f0c3624cac1d7aa7ed8bf6286b85d808b9c9a
- Loading branch information
Showing
14 changed files
with
86 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
diskimage_builder/elements/centos-minimal/yum.repos.d/8/appstream.repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[centos-appstream] | ||
name=CentOS-$releasever - AppStream | ||
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=appstream | ||
gpgcheck=0 | ||
|
5 changes: 5 additions & 0 deletions
5
diskimage_builder/elements/centos-minimal/yum.repos.d/8/base.repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[centos-base] | ||
name=CentOS-$releasever - Base | ||
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=baseos | ||
gpgcheck=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
roles/dib-setup-gate-mirrors/templates/centos-minimal/8/appstream.repo.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[AppStream] | ||
name=CentOS-$releasever - AppStream | ||
baseurl=http://{{ mirror_fqdn }}/centos/$releasever/AppStream/$basearch/os/ | ||
gpgcheck=0 |
4 changes: 4 additions & 0 deletions
4
roles/dib-setup-gate-mirrors/templates/centos-minimal/8/base.repo.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[base] | ||
name=CentOS-$releasever - Base | ||
baseurl=http://{{ mirror_fqdn }}/centos/$releasever/BaseOS/$basearch/os/ | ||
gpgcheck=0 |
5 changes: 5 additions & 0 deletions
5
roles/dib-setup-gate-mirrors/templates/centos-minimal/8/extras.repo.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#additional packages that may be useful | ||
[extras] | ||
name=CentOS-$releasever - Extras | ||
baseurl=http://{{ mirror_fqdn }}/centos/$releasever/extras/$basearch/os/ | ||
gpgcheck=0 |