From 8909332a6d473379f45080c2cc868815a89858e8 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Tue, 7 Feb 2017 16:59:40 -0500 Subject: [PATCH] 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/ --- fedora-atomic.ks | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fedora-atomic.ks b/fedora-atomic.ks index 989313a..1506d45 100644 --- a/fedora-atomic.ks +++ b/fedora-atomic.ks @@ -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