tests: Disable mirrors
bcl: The mirrors are not very good at staying in sync, and if composer hits one mirror and anaconda hits a different mirror, you will see depsolve fail. The safest thing is to not use mirrors in Fedora.
This commit is contained in:
parent
89539a7bf4
commit
cb7e391792
@ -17,6 +17,11 @@ if ! rpm -q beakerlib; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# disable mirrors & re-enable direct download
|
||||
sed -i "s/metalink.*//" /etc/yum.repos.d/*.repo
|
||||
sed -i "s/#\(baseurl=.*\)/\1/" /etc/yum.repos.d/*.repo
|
||||
sed -i "s/download.fedoraproject/dl.fedoraproject/" /etc/yum.repos.d/*.repo
|
||||
|
||||
# Grow root partition to make room for images. This only works on Fedora right now.
|
||||
echo ", +" | sfdisk -N 2 -f /dev/vda
|
||||
partprobe
|
||||
|
Loading…
Reference in New Issue
Block a user