mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 05:35:26 +00:00
atomic: use the dl.fp.o url
Would be better to just go ahead and use the dl.fp.o url in our ostreesetup command so that we don't have to worry about doing the remote delete/add in the %post. The dl.fp.o url [1] is just a redirect to the kojipkgs url [2] anyway. [1] https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/ [2] https://kojipkgs.fedoraproject.org/atomic/25/
This commit is contained in:
parent
ee920bfa1f
commit
8909332a6d
@ -32,14 +32,11 @@ 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://kojipkgs.fedoraproject.org/atomic/25/ --ref=fedora-atomic/25/x86_64/docker-host
|
||||
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/ --ref=fedora-atomic/25/x86_64/docker-host
|
||||
|
||||
reboot
|
||||
|
||||
%post --erroronfail
|
||||
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
||||
ostree remote delete fedora-atomic
|
||||
ostree remote add --set=gpg-verify=false fedora-atomic 'https://dl.fedoraproject.org/pub/fedora/linux/atomic/25/'
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
|
Loading…
Reference in New Issue
Block a user