forked from srbala/fedora-kickstarts
fedora-atomic.ks: create new ref and delete old one
1. Make sure that the ref we sit on exists. This will also work around a subtle issue which would cause static deltas to not be used (though https://github.com/ostreedev/ostree/pull/710 will fix that). 2. Make sure we delete the old refs so that the commit eventually gets cleaned up.
This commit is contained in:
parent
e77c443079
commit
015e301b25
@ -42,6 +42,14 @@ reboot
|
||||
# of this image to track the two week releases
|
||||
ostree admin set-origin --index 0 fedora-atomic https://kojipkgs.fedoraproject.org/atomic/25/ fedora-atomic/25/x86_64/docker-host
|
||||
|
||||
# Make sure the ref we're supposedly sitting on (according
|
||||
# to the updated origin) exists.
|
||||
ostree refs fedora-atomic:fedora-atomic/25/x86_64/updates/docker-host --create fedora-atomic:fedora-atomic/25/x86_64/docker-host
|
||||
|
||||
# Remove the old ref so that the commit eventually gets
|
||||
# cleaned up.
|
||||
ostree refs fedora-atomic:fedora-atomic/25/x86_64/updates/docker-host --delete
|
||||
|
||||
# older versions of livecd-tools do not follow "rootpw --lock" line above
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=964299
|
||||
passwd -l root
|
||||
|
Loading…
Reference in New Issue
Block a user