Last active
December 13, 2019 16:06
-
-
Save cgwalters/4e5eb36bd439f5995928e9232d865f67 to your computer and use it in GitHub Desktop.
Testing FCOS/RHCOS OSTree upgrades manually
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On host in your cosa build directory run e.g.: | |
``` | |
$ cd /srv/walters/rhcos-4.4 | |
$ python3 -m http.server | |
``` | |
``` | |
$ cosa run -d rhcos-4.2.0-qemu.qcow2 | |
# ostree remote add --set=gpg-verify=false local http://10.0.2.2:8000/tmp/repo | |
# while ! rpm-ostree rebase local:tmpref-rhcos; do sleep 0.1; done | |
# systemctl reboot | |
``` |
Use something other than Python for better I/O performance, i.e. https://gist.github.com/paulmach/7271283
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note this would be way, way less awful once we have https://virtio-fs.gitlab.io/
Also xref the kola omaha code coreos/mantle#1140