Remove "failovermethod=priority" for Fedora (dnf)

This is no longer a valid option for dnf, and it puts out a lot of
warnings constantly about the invalid entry [1].  Remove it.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1653831

Change-Id: Iba0585cab3e5e78e9324196f276b2341e7bb9e3c
This commit is contained in:
Ian Wienand 2019-10-01 05:59:52 +00:00
parent a77a214339
commit 456b6cf394
4 changed files with 0 additions and 6 deletions

View File

@ -28,7 +28,6 @@ mkdir -p $FEDORA_MIN_DIR
cat <<EOF > $FEDORA_MIN_DIR/dib-mirror-fedora.repo cat <<EOF > $FEDORA_MIN_DIR/dib-mirror-fedora.repo
[fedora] [fedora]
name=Fedora \$releasever - \$basearch name=Fedora \$releasever - \$basearch
failovermethod=priority
baseurl=$NODEPOOL_FEDORA_MIRROR/releases/\$releasever/Everything/\$basearch/os/ baseurl=$NODEPOOL_FEDORA_MIRROR/releases/\$releasever/Everything/\$basearch/os/
enabled=1 enabled=1
metadata_expire=7d metadata_expire=7d
@ -41,7 +40,6 @@ EOF
cat <<EOF > $FEDORA_MIN_DIR/dib-mirror-fedora-updates.repo cat <<EOF > $FEDORA_MIN_DIR/dib-mirror-fedora-updates.repo
[updates] [updates]
name=Fedora \$releasever - \$basearch - Updates name=Fedora \$releasever - \$basearch - Updates
failovermethod=priority
baseurl=$NODEPOOL_FEDORA_MIRROR/updates/\$releasever/Everything/\$basearch/ baseurl=$NODEPOOL_FEDORA_MIRROR/updates/\$releasever/Everything/\$basearch/
enabled=1 enabled=1
gpgcheck=0 gpgcheck=0

View File

@ -1,6 +1,5 @@
[fedora] [fedora]
name=Fedora $releasever - $basearch name=Fedora $releasever - $basearch
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os #baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
gpgcheck=0 gpgcheck=0
@ -8,7 +7,6 @@ skip_if_unavailable=False
[updates] [updates]
name=Fedora $releasever - $basearch - Updates name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Everything/$basearch/ #baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/Everything/$basearch/
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1 enabled=1

View File

@ -1,6 +1,5 @@
[updates] [updates]
name=Fedora $releasever - $basearch - Updates name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://{{ mirror_fqdn }}/fedora/updates/$releasever/Everything/$basearch/ baseurl=http://{{ mirror_fqdn }}/fedora/updates/$releasever/Everything/$basearch/
enabled=1 enabled=1
gpgcheck=0 gpgcheck=0

View File

@ -1,6 +1,5 @@
[fedora] [fedora]
name=Fedora $releasever - $basearch name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://{{ mirror_fqdn }}/fedora/releases/$releasever/Everything/$basearch/os/ baseurl=http://{{ mirror_fqdn }}/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1 enabled=1
metadata_expire=7d metadata_expire=7d