RHEL for Edge overview videos

Updated -

This page has links to several videos that provide an overview of how to get started with RHEL for Edge. For more information on RHEL for Edge, please see the RHEL 8 documentation.

Currently available videos:

RHEL for Edge Part 1: Creating an Image
- How to create a RHEL for Edge image with Image Builder, including adding additional packages and a user account to the image.
- Downloading and extracting the image
- Showing information on the image with the "rpm-ostree db list" command
- Configuring a Kickstart file for RHEL for Edge installations
- Creating a rootless container with Podman to act as a webserver for the RHEL for Edge image

RHEL for Edge Part 2: Installing an Image
- Booting from the RHEL Boot ISO image
- Installing RHEL for Edge with the kickstart file and image created in Part 1
- Using "rpm-ostree status" to display rpm-ostree deployments

RHEL for Edge Part 3: Updating an Image
- Creating an updated RHEL for Edge image using the Image Builder
- Specifying the "Parent commit" for the previous image in the Image Builder
- Creating a rootless container with Podman to act as a webserver for the updated image
- Checking for available updates with the "rpm-ostree upgrade --check" command
- Displaying details about the update with the "rpm-ostree upgrade --preview" command
- Upgrading RHEL for Edge with the "rpm-ostree upgrade" command
- How to understand "rpm-ostree status" output
- What the bootloader looks like after an update
- Booting in to the updated RHEL for Edge image

RHEL for Edge Part 4: Manually Rolling Back an Image
- Using "rpm-ostree rollback" to rollback to the previous RHEL for Edge image
- Using "rpm-ostree status" to show which image will be booted by default

RHEL for Edge Part 5: Automating Image Roll Back with Greenboot
- Greenboot documentation available at /usr/share/doc/greenboot/README.md
- Function of Greenboot directories:
- /etc/greenboot/check/required.d
- /etc/greenboot/check/wanted.d
- /etc/greenboot/green.d
- /etc/greenboot/red.d
- The boot_counter GRUB2 variable
- Demonstration of Greenboot rolling back after 3 attempted boots
- Using "systemctl status greenboot-status" to view Greenboot status

RHEL for Edge Part 6: Configuring Automatic Updates
- Explanation of AutomaticUpdatePolicy configuration options: none, check, and stage
- Configuring AutomaticUpdatePolicy in /etc/rpm-ostreed.conf
- Using "rpm-ostree reload" to reload the configuration
- Enabling the rpm-ostreed-automatic.timer with systemctl
- Demonstration of setting AutomaticUpdatePolicy to "check" and viewing an available update with "rpm-ostree status"
- Explanation of /etc/systemd/system/timers.target.wants/rpm-ostreed-automatic.timer
- Using "systemctl list-timers" to see when the next update check will occur
- Demonstration of setting AutomaticUpdatePolicy to "stage"
- Manually starting rpm-ostreed-automatic.service with "systemctl start rpm-ostreed-automatic.service"

RHEL for Edge Part 7: rpm-ostree Filesystem
- Overview that in RHEL for Edge, /usr is mounted read only, and /var and /etc are the only supported locations for writing data or system configuration
- Comparing RHEL for Edge root filesystem and RPM based RHEL root filesystem
- Several directories in RHEL for Edge are symbolic links to directories under /var, for example /home is a symbolic link to /var/home
- The /var directory is shared between deployments
- Each deployment has its own separate writable /etc directory
- As part of an rpm-ostree upgrade, a new writable /etc directory is created by doing a 3 way diff between the old default configuration, the active systems /etc, and the new default configuration
- Demonstration of creating files under /var and /etc, and then updating RHEL for Edge
- Explanation of the partition layout on RHEL for Edge
- Overview of /sysroot directory
- The /ostree symbolic link to /sysroot/ostree
- The /ostree/deploy/ directory and subdirectories
- How hard links are used between deployments to the /ostree/repo directory