Compare commits
10 Commits
Author | SHA1 | Date |
---|---|---|
Troy Dawson | 69cdc80723 | 3 months ago |
Carl George | 70132bddbd | 5 months ago |
Troy Dawson | 70aa753df4 | 2 years ago |
Carl George | 0bc07d5d20 | 2 years ago |
Carl George | 824538d40c | 2 years ago |
Troy Dawson | 198ffc42d6 | 2 years ago |
Troy Dawson | 61026af609 | 2 years ago |
Troy Dawson | 52cd948183 | 3 years ago |
Kyle Walker | 7374c26ba8 | 3 years ago |
Troy Dawson | eff75376a5 | 3 years ago |
@ -0,0 +1,85 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Enable / Disable / Status the codeready-builder(CRB) or equivalent repo.
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Show help
|
||||||
|
###############
|
||||||
|
usage() {
|
||||||
|
echo "Usage `basename $0` [ enable | disable | status ] " >&2
|
||||||
|
echo >&2
|
||||||
|
echo "Enable, Disable, or give the status of the CodeReady Builder (CRB) repo" >&2
|
||||||
|
echo >&2
|
||||||
|
echo "Options:" >&2
|
||||||
|
echo " enable" >&2
|
||||||
|
echo " Enable the CRB repo" >&2
|
||||||
|
echo " disable" >&2
|
||||||
|
echo " Disable the CRB repo" >&2
|
||||||
|
echo " status" >&2
|
||||||
|
echo " Show if rhe CRB repo is enabled or disabled" >&2
|
||||||
|
echo " help" >&2
|
||||||
|
echo " Show this options menu" >&2
|
||||||
|
echo >&2
|
||||||
|
popd &>/dev/null
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Show the status
|
||||||
|
show_status()(
|
||||||
|
# Determine if a version of CRB is enabled
|
||||||
|
crb_repo=$(dnf repolist | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')
|
||||||
|
if [ "${crb_repo}" == "" ] ; then
|
||||||
|
echo "CRB repo is disabled"
|
||||||
|
else
|
||||||
|
echo "CRB repo is enabled and named: ${crb_repo}"
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
|
||||||
|
# Enable or Disable the repo
|
||||||
|
enable_disable_repo(){
|
||||||
|
command="$1"
|
||||||
|
# Determine which repo we need to change
|
||||||
|
crb_repo=$(dnf repolist --all | grep -i -e crb -e powertools -e codeready | grep -v -i -e debug -e source -e eus -e virt -e rhui | awk '{print $1}')
|
||||||
|
|
||||||
|
# Determine if we are on RHEL or not, then do the correct steps
|
||||||
|
source /etc/os-release
|
||||||
|
if [[ "${NAME}" =~ "Red Hat" ]] ; then
|
||||||
|
subscription-manager repos ${command} ${crb_repo}
|
||||||
|
else
|
||||||
|
# Determine if dnf-command(config-manager) is installed
|
||||||
|
if ! rpm -q --whatprovides 'dnf-command(config-manager)' > /dev/null 2>&1 ; then
|
||||||
|
echo "Error: Please run: dnf install 'dnf-command(config-manager)'" >&2
|
||||||
|
echo " before trying to enable/disable the CRB repo." >&2
|
||||||
|
echo "Aborting"'!' >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
# Everything else uses dnf config-manager
|
||||||
|
dnf config-manager ${command} ${crb_repo}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Get our arguments
|
||||||
|
###############
|
||||||
|
key="$1"
|
||||||
|
case $key in
|
||||||
|
enable | --enable )
|
||||||
|
echo "Enabling CRB repo"
|
||||||
|
enable_disable_repo --enable
|
||||||
|
show_status
|
||||||
|
;;
|
||||||
|
disable | --disable )
|
||||||
|
echo "Disabling CRB repo"
|
||||||
|
enable_disable_repo --disable
|
||||||
|
show_status
|
||||||
|
;;
|
||||||
|
status | --status )
|
||||||
|
show_status
|
||||||
|
;;
|
||||||
|
* )
|
||||||
|
usage
|
||||||
|
exit 2
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
@ -1,30 +1,33 @@
|
|||||||
[epel-modular]
|
[epel-modular]
|
||||||
name=Extra Packages for Enterprise Linux Modular $releasever - $basearch
|
# This repo has been RETIRED, see https://pagure.io/epel/issue/198 for more details.
|
||||||
|
name=Extra Packages for Enterprise Linux Modular 8 - $basearch - RETIRED
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Modular/$basearch
|
#baseurl=https://download.example/pub/epel/8/Modular/$basearch
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=1
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
countme=1
|
countme=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
|
|
||||||
[epel-modular-debuginfo]
|
[epel-modular-debuginfo]
|
||||||
name=Extra Packages for Enterprise Linux Modular $releasever - $basearch - Debug
|
# This repo has been RETIRED, see https://pagure.io/epel/issue/198 for more details.
|
||||||
|
name=Extra Packages for Enterprise Linux Modular 8 - $basearch - Debug - RETIRED
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Modular/$basearch/debug
|
#baseurl=https://download.example/pub/epel/8/Modular/$basearch/debug
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-debug-8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
||||||
[epel-modular-source]
|
[epel-modular-source]
|
||||||
name=Extra Packages for Enterprise Linux Modular $releasever - $basearch - Source
|
# This repo has been RETIRED, see https://pagure.io/epel/issue/198 for more details.
|
||||||
|
name=Extra Packages for Enterprise Linux Modular 8 - $basearch - Source - RETIRED
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place it's address here.
|
# place it's address here.
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Modular/source/tree/
|
#baseurl=https://download.example/pub/epel/8/Modular/source/tree/
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-modular-source-8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
[epel-next-testing]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Next - Testing - $basearch
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place its address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/testing/next/$releasever/Everything/$basearch/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
countme=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
|
|
||||||
[epel-next-testing-debuginfo]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Next - Testing - $basearch - Debug
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place its address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/testing/next/$releasever/Everything/$basearch/debug/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[epel-next-testing-source]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Next - Testing - $basearch - Source
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place it's address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/testing/next/$releasever/Everything/source/tree/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-testing-next-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
@ -1,30 +0,0 @@
|
|||||||
[epel-next]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Next - $basearch
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place its address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/next/$releasever/Everything/$basearch/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
countme=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
|
|
||||||
[epel-next-debuginfo]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Next - $basearch - Debug
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place its address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/next/$releasever/Everything/$basearch/debug/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[epel-next-source]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Next - $basearch - Source
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place it's address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/next/$releasever/Everything/source/tree/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-next-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
@ -1,30 +0,0 @@
|
|||||||
[epel-playground]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Playground - $basearch
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place its address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/playground/$releasever/Everything/$basearch/os
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
countme=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
|
|
||||||
[epel-playground-debuginfo]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Playground - $basearch - Debug
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place its address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/playground/$releasever/Everything/$basearch/debug/tree
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-debug-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
||||||
|
|
||||||
[epel-playground-source]
|
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Playground - $basearch - Source
|
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
|
||||||
# place its address here.
|
|
||||||
#baseurl=https://download.example/pub/epel/playground/$releasever/Everything/source/tree/
|
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=playground-source-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
|
||||||
enabled=0
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
|
||||||
gpgcheck=1
|
|
@ -1,30 +1,33 @@
|
|||||||
[epel-testing-modular]
|
[epel-testing-modular]
|
||||||
name=Extra Packages for Enterprise Linux Modular $releasever - Testing - $basearch
|
# This repo has been RETIRED, see https://pagure.io/epel/issue/198 for more details.
|
||||||
|
name=Extra Packages for Enterprise Linux Modular 8 - Testing - $basearch - RETIRED
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/testing/$releasever/Modular/$basearch
|
#baseurl=https://download.example/pub/epel/testing/8/Modular/$basearch
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-epel8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
countme=1
|
countme=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
|
|
||||||
[epel-testing-modular-debuginfo]
|
[epel-testing-modular-debuginfo]
|
||||||
name=Extra Packages for Enterprise Linux Modular $releasever - Testing - $basearch - Debug
|
# This repo has been RETIRED, see https://pagure.io/epel/issue/198 for more details.
|
||||||
|
name=Extra Packages for Enterprise Linux Modular 8 - Testing - $basearch - Debug - RETIRED
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/testing/$releasever/Modular/$basearch/debug
|
#baseurl=https://download.example/pub/epel/testing/8/Modular/$basearch/debug
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-debug-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-debug-epel8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
||||||
[epel-testing-modular-source]
|
[epel-testing-modular-source]
|
||||||
name=Extra Packages for Enterprise Linux Modular $releasever - Testing - $basearch - Source
|
# This repo has been RETIRED, see https://pagure.io/epel/issue/198 for more details.
|
||||||
|
name=Extra Packages for Enterprise Linux Modular 8 - Testing - $basearch - Source - RETIRED
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place it's address here.
|
# place it's address here.
|
||||||
#baseurl=https://download.example/pub/epel/testing/$releasever/Modular/source/tree/
|
#baseurl=https://download.example/pub/epel/testing/8/Modular/source/tree/
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-source-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-modular-source-epel8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
@ -1,30 +1,30 @@
|
|||||||
[epel-testing]
|
[epel-testing]
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch
|
name=Extra Packages for Enterprise Linux 8 - Testing - $basearch
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/testing/$releasever/Everything/$basearch
|
#baseurl=https://download.example/pub/epel/testing/8/Everything/$basearch
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
countme=1
|
countme=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
|
|
||||||
[epel-testing-debuginfo]
|
[epel-testing-debuginfo]
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch - Debug
|
name=Extra Packages for Enterprise Linux 8 - Testing - $basearch - Debug
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/testing/$releasever/Everything/$basearch/debug
|
#baseurl=https://download.example/pub/epel/testing/8/Everything/$basearch/debug
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
||||||
[epel-testing-source]
|
[epel-testing-source]
|
||||||
name=Extra Packages for Enterprise Linux $releasever - Testing - $basearch - Source
|
name=Extra Packages for Enterprise Linux 8 - Testing - $basearch - Source
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place it's address here.
|
# place it's address here.
|
||||||
#baseurl=https://download.example/pub/epel/testing/$releasever/Everything/source/tree/
|
#baseurl=https://download.example/pub/epel/testing/8/Everything/source/tree/
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
@ -1,30 +1,30 @@
|
|||||||
[epel]
|
[epel]
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch
|
name=Extra Packages for Enterprise Linux 8 - $basearch
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch
|
#baseurl=https://download.example/pub/epel/8/Everything/$basearch
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
countme=1
|
countme=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
|
|
||||||
[epel-debuginfo]
|
[epel-debuginfo]
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug
|
name=Extra Packages for Enterprise Linux 8 - $basearch - Debug
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place its address here.
|
# place its address here.
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Everything/$basearch/debug
|
#baseurl=https://download.example/pub/epel/8/Everything/$basearch/debug
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
|
||||||
[epel-source]
|
[epel-source]
|
||||||
name=Extra Packages for Enterprise Linux $releasever - $basearch - Source
|
name=Extra Packages for Enterprise Linux 8 - $basearch - Source
|
||||||
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
# It is much more secure to use the metalink, but if you wish to use a local mirror
|
||||||
# place it's address here.
|
# place it's address here.
|
||||||
#baseurl=https://download.example/pub/epel/$releasever/Everything/source/tree/
|
#baseurl=https://download.example/pub/epel/8/Everything/source/tree/
|
||||||
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-$releasever&arch=$basearch&infra=$infra&content=$contentdir
|
metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-8&arch=$basearch&infra=$infra&content=$contentdir
|
||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
|
Loading…
Reference in new issue