Closed kikitux closed 9 years ago
@kikitux Thank you for your suggestion.
That would be great and much faster to build. I have just a concern about the size of a box with two repos in this case. Do you know how to remove the old ostree repo gracefully after upgrading?
Or having two repos might be good for fallback.
I found it.
# ostree admin undeploy 1
this is an output when I did atomic upgrade, and created a new entry.. check *
ostree admin status fedora-atomic a09ce2f824443cbe269173b77501ba4d9f6859104f1e3a98dcd71802a76dc39a.1 origin refspec: fedora-atomic:fedora-atomic/rawhide/x86_64/docker-host
after reboot,..
[vagrant@localhost ~]$ ostree admin status
[vagrant@localhost ~]$ sudo ostree admin undeploy 1 Transaction complete; bootconfig swap: yes deployment count change: -1 Freed objects: 97.6 MB Deleted deployment 7cd239a8947a75989c11a252debb4dd4e4b26909152a6e00e5eb504b71ee4124.0 [vagrant@localhost ~]$
I will try to make upgrade
to build a new box from the current box.
Did a sample template_upgrade.json for your review.
https://github.com/YungSang/fedora-atomic-packer/pull/6
I haven't tested as for some reason the make fails due something on sudo..
updated the PR
Hello, I am running my first make on this, and it's downloading the information over the network.
I think the 2nd time it will delete everything and doit again.. right?
in such case, perhaps an option would be:
What do you think?