From e066d169ce14cbd2b11fc73788f5ab2d3e3b593b Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 15 Feb 2021 14:12:49 -0500 Subject: [PATCH] Remove registry.centos.org and add quay.io from registries.conf --- containers-common.spec | 5 ++++- registries.conf | 2 +- update.sh | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) mode change 100644 => 100755 update.sh diff --git a/containers-common.spec b/containers-common.spec index cf375f9..f305f55 100644 --- a/containers-common.spec +++ b/containers-common.spec @@ -15,7 +15,7 @@ Epoch: 4 Name: containers-common Version: 1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Common configuration and documentation for containers License: ASL 2.0 BuildArch: noarch @@ -114,6 +114,9 @@ ln -s %{_sysconfdir}/yum.repos.d/redhat.repo %{buildroot}%{_datadir}/rhel/secret %{_datadir}/rhel/secrets/* %changelog +* Mon Feb 15 2021 Dan Walsh - 4:1-9 +- Remove registry.centos.org and add quay.io from registries.conf + * Mon Feb 15 2021 Dan Walsh - 4:1-8 - Update content diff --git a/registries.conf b/registries.conf index d4d3351..9c958ee 100644 --- a/registries.conf +++ b/registries.conf @@ -18,7 +18,7 @@ # of these registries, it should be added at the end of the list. # # # An array of host[:port] registries to try when pulling an unqualified image, in order. -unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.redhat.com", "docker.io"] +unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.redhat.com", "docker.io", "quay.io"] # # [[registry]] # # The "prefix" field is used to choose the relevant [[registry]] TOML table; diff --git a/update.sh b/update.sh old mode 100644 new mode 100755 index 68d283f..2c9f5cf --- a/update.sh +++ b/update.sh @@ -13,7 +13,7 @@ sed -i '/\"socketcall\",/i \ "socket",' seccomp.json echo "Changing registries.conf..." -sed -i 's/^#.*unqualified-search-registries.*=.*/unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.redhat.com", "registry.centos.org", "docker.io"]/g' \ +sed -i 's/^#.*unqualified-search-registries.*=.*/unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.redhat.com", "docker.io", "quay.io"]/g' \ registries.conf echo '' >> registries.conf