Skip to content

Instantly share code, notes, and snippets.

@nanonyme
Created June 8, 2021 18:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanonyme/9970a96933f513fba2b3b366b8de6405 to your computer and use it in GitHub Desktop.
Save nanonyme/9970a96933f513fba2b3b366b8de6405 to your computer and use it in GitHub Desktop.
#!/bin/bash
source /etc/os-release
NEXT_VERSION=$((VERSION_ID+1))
FULL_REF=fedora:fedora/${NEXT_VERSION}/x86_64/silverblue
echo Updating to ${FULL_REF}
rpm-ostree rebase ${FULL_REF}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment