Skip to content

Instantly share code, notes, and snippets.

@jlebon
Created July 21, 2016 16:13
Show Gist options
  • Save jlebon/76f86b43a03930d4f016c7a15168e51d to your computer and use it in GitHub Desktop.
Save jlebon/76f86b43a03930d4f016c7a15168e51d to your computer and use it in GitHub Desktop.
Testing CAHC
Setting up:
1. ostree remote add --set=gpg-verify=false centos-atomic-continuous https://ci.centos.org/artifacts/sig-atomic/rdgo/centos-continuous/ostree/repo/
2. ostree pull centos-atomic-continuous:centos-atomic-host/7/x86_64/devel/continuous
3. ostree commit -b my-test-branch --tree=ref=centos-atomic-continuous:centos-atomic-host/7/x86_64/devel/continuous
(if your ostree has `refs --create`, then this can be shortened)
4. ostree admin deploy my-test-branch
5. reboot
Synthesizing an update:
1. ostree commit -b my-test-branch --tree=ref=my-test-branch
2. rpm-ostree upgrade
Updating from: my-test-branch
Copying /etc changes: 34 modified, 8 removed, 95918 added
Transaction complete; bootconfig swap: yes deployment count change: 0
Freed objects: 118 bytes
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment