mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-14 12:54:22 +00:00
cloud-atomic: Trim installmedia remote
Otherwise it takes up space until manually removed.
This commit is contained in:
parent
7a7d16bc5c
commit
16fb17d455
@ -39,6 +39,7 @@ reboot
|
||||
# See https://github.com/projectatomic/rpm-ostree/issues/42
|
||||
ostree remote add --set=gpg-verify=false fedora-atomic 'http://dl.fedoraproject.org/pub/fedora/linux/atomic/21/'
|
||||
(origin_file=$(echo -n /ostree/deploy/fedora-atomic-host/deploy/*.origin); sed -e 's,installmedia:,fedora-atomic:,' < ${origin_file} > ${origin_file}.new && mv ${origin_file}{.new,})
|
||||
rm /ostree/repo/refs/remotes/installmedia -rf
|
||||
|
||||
# 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