Skip to content

Instantly share code, notes, and snippets.

@cgwalters
Last active December 13, 2019 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cgwalters/4e5eb36bd439f5995928e9232d865f67 to your computer and use it in GitHub Desktop.
Save cgwalters/4e5eb36bd439f5995928e9232d865f67 to your computer and use it in GitHub Desktop.
Testing FCOS/RHCOS OSTree upgrades manually
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
```
@cgwalters
Copy link
Author

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

@cgwalters
Copy link
Author

@miabbott
Copy link

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