Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

OSTree Commands for Fedora Silverblue

I have provided some commands which will hopefully make your Fedora Silverblue journey better.

Basics

CommandsExplanation
sudo ostree admin pin (-u) <index>Pin a deployment (use -u to unpin a deployment)
sudo ostree admin fsckVerify the integrity of yourFedora Silverblue installation
rpm-ostree kargs --editorEdit your kernel arguments (kargs)

Deploying a previous commit

CommandsExplanation
ostree remote refs fedoraFind all available refs forFedora Atomic spins you can use
sudo ostree pull --commit-metadata-only --depth=10 fedora:<ref>Pull the last 10 commits for your selected ref
ostree log fedora:<ref>List all the commits for your selected ref
rpm-ostree deploy <ref_version>Deploy that specific commit version (removes overlayed packages)

Rebase onto a different image

CommandsExplanation
ostree remote refs fedoraFind all available refs forFedora Atomic spins you can use
rpm-ostree rebase fedora:<ref>Rebase onto a different image/spin likeKinoite or Cosmic Atomic