Appendix A. Terminology and commands
This section provides the rpmostree terminology and commands.
A.1. OSTree and rpm-ostree terminology
Following are some helpful terms that are used in context to OSTree and rpm-ostree images.
Table A.1. OSTree and rpm-ostree terminology
Term | Definition |
OSTree | A tool used for managing Linux-based operating system versions. The OSTree tree view is similar to Git and is based on similar concepts. |
rpm-ostree | A hybrid image or system package that hosts operating system updates. |
Commit | A release or image version of the operating system. Image Builder generates an ostree commit for RHEL for Edge images. You can use these images to install or update RHEL on Edge servers. |
Refs |
Represents a branch in ostree. Refs always resolve to the latest commit. For example, |
Revision (Rev) | SHA-256 for a specific commit. |
Remote | The http or https endpoint that hosts the ostree content. This is analogous to the baseurl for a yum repository. |
static-delta | Updates to ostree images are always delta updates. In case of RHEL for Edge images, the TCP overhead can be higher than expected due to the updates to number of files. To avoid TCP overhead, you can generate static-delta between specific commits, and send the update in a single connection. This optimization helps large deployments with constrained connectivity. |
A.2. ostree commands
This section provides a few ostree commands that you can use when installing or managing ostree images.
Table A.2. ostree commands
ostree pull |
|
ostree summary |
|
View refs |
|
View commits in repo |
|
Inspect a commit |
|
List remotes of a repo |
|
Resolve a REV |
|
Create static-delta |
|
Sign an |
|
A.3. rpm-ostree commands
This section provides a few rpm-ostree
commands that you can use when installing or managing ostree images.
Table A.3. rpm-ostree commands
Commands | Description |
---|---|
| This command lists the packages existing in the <REV> commit into the repository. |
|
OSTree manages an ordered list of bootloader entries, called |
| This command gives information about the current deployment in use. Lists the names and refspecs of all possible deployments in order, such that the first deployment in the list is the default upon boot. The deployment marked with * is the current booted deployment, and marking with 'r' indicates the most recent upgrade. |
| Use this command to see which packages are within the commit or commits. You must specify at least one commit, but more than one or a range of commits also work. |
| Use this command to show how the packages are different between the trees in two revs (revisions). If no revs are provided, the booted commit is compared to the pending commit. If only a single rev is provided, the booted commit is compared to that rev. |
| This command downloads the latest version of the current tree, and deploys it, setting up the current tree as the default for the next boot. This has no effect on your running filesystem tree. You must reboot for any changes to take effect. |
Additional resources
-
For more information, see the
rpm-ostree
man page.