atomic: make url match ostreesetup line

When we reset the origin to think it came from another branch, let's
use the same URL as we used in the ostreesetup line.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
This commit is contained in:
Dusty Mabe 2018-04-25 11:22:46 -04:00
parent 1a55167415
commit 9109d36075
No known key found for this signature in database
GPG Key ID: 3302DBD73952E671

View File

@ -68,7 +68,7 @@ arch=$(uname -m)
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes.
# We want consumers of this image to track the two week releases.
ostree admin set-origin --index 0 fedora-atomic https://kojipkgs.fedoraproject.org/atomic/28/ "fedora/28/${arch}/atomic-host"
ostree admin set-origin --index 0 fedora-atomic https://kojipkgs.fedoraproject.org/compose/atomic/repo/ "fedora/28/${arch}/atomic-host"
# Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists.