AlmaLinux8

v1: Initial template for migrating from CentOS8 template due to end-of-life. AlmaLinux serves as a direct binary replacement for CentOS8.
 

Migration notes for those wanting to upgrade or migrate their CentOS8 templates

This information is sourced from the official AlmaLinux guide available at https://github.com/AlmaLinux/almalinux-deploy . Please consult the latest version at that link; the text below is copied as of 29/3/2022 for reference.

This information is provided for our community in Australia as a guide, but no responsibility is implied for any errors or issues arising from these notes.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

To convert your EL8 operating system to AlmaLinux, follow these steps:

  1. You need CentOS 8.4 or 8.5 to convert to AlmaLinux. It is recommended to update to 8.5 before proceeding, though not required if you're already on at least CentOS 8.4. A reboot after the updates is recommended if your system has received new packages.

    sudo dnf update -y
    sudo reboot
    
  1. Back up your system. We haven't tested every possible scenario, so there is a risk that something might go wrong. Having a backup provides a restore point in such an event.

  2. Download the almalinux-deploy.sh script:

    $ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  3. Run the script and review its output for errors:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. A reboot is recommended to boot into the AlmaLinux kernel:

    sudo reboot
    
  5. Verify that your system has been successfully converted:

    # check release file
    $ cat /etc/redhat-release
    AlmaLinux release 8.5 (Arctic Sphynx)
    
    # check that the system boots AlmaLinux kernel by default
    $ sudo grubby --info DEFAULT | grep AlmaLinux
    title="AlmaLinux (4.18.0-348.el8.x86_64) 8.5 (Arctic Sphynx)"
  6. Thank you for choosing AlmaLinux!