Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Remove unnecessary sudo for rpm-ostree (#702)
Browse files Browse the repository at this point in the history
`sudo` is not necessary for most `rpm-ostree` commands. See https://coreos.github.io/rpm-ostree/administrator-handbook/ for full documentation.
  • Loading branch information
erlefloch authored Jan 28, 2024
1 parent 74a72ca commit e128de8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/cheatsheet/ostree.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ You can read more about [ostree](https://ostreedev.github.io/ostree/) in the ups
### Update ostree
Pull updated version based on your current upstream repository.
```
sudo rpm-ostree upgrade
rpm-ostree upgrade
```

### Roll back deployment
This will change your next target boot to the previous deployment.
Use this if you have issues with your current booted deployment.
```
sudo rpm-ostree rollback
rpm-ostree rollback
```

### Add rpm package
Install a new package layered on top of the file system tree.
Add `--now` to layer on top of the active tree.
```
sudo rpm-ostree install $PACKAGE
rpm-ostree install $PACKAGE
```

### Get ostree status
See the current booted file system tree and any layered packages.
```
sudo rpm-ostree status
rpm-ostree status
```

### Pin a file system tree
Expand Down

0 comments on commit e128de8

Please sign in to comment.