atomic: use kojipkgs url everywhere

We need to use the kojipkgs url on the builders because they don't
have access to dl.fp.o. After some discussion we have just decided
to use the kojipkgs url everywhere as the dl.fp.o url is just a
redirect anyway.
This commit is contained in:
Dusty Mabe 2017-02-09 10:20:09 -05:00
parent 3fd7e8b009
commit e77c443079
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ volgroup atomicos pv.01
logvol / --size=3000 --fstype="xfs" --name=root --vgname=atomicos
# Equivalent of %include fedora-repo.ks
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/ --ref=fedora-atomic/25/x86_64/updates/docker-host
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://kojipkgs.fedoraproject.org/atomic/25/ --ref=fedora-atomic/25/x86_64/updates/docker-host
reboot
@ -40,7 +40,7 @@ reboot
# Set the ref we are tracking to the be fedora-atomic/25/x86_64/docker-host
# one, which is what we are using for the two week releases. We want consumers
# of this image to track the two week releases
ostree admin set-origin --index 0 fedora-atomic https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/ fedora-atomic/25/x86_64/docker-host
ostree admin set-origin --index 0 fedora-atomic https://kojipkgs.fedoraproject.org/atomic/25/ fedora-atomic/25/x86_64/docker-host
# older versions of livecd-tools do not follow "rootpw --lock" line above
# https://bugzilla.redhat.com/show_bug.cgi?id=964299