AlmaLinux8

v1 : Starting template for migrating from CentOS8 because it has reached its end of life. AlmaLinux serves as a direct binary drop-in replacement for CentOS8.
 

Migration guidelines for upgrading or migrating CentOS8 templates

This information comes from the official AlmaLinux deployment guide, available at https://github.com/AlmaLinux/almalinux-deploy . Do check the latest version there; the text below is copied as of 29/3/2022 for reference.

We're providing this as a guide for the community, but please note that we cannot assume responsibility for any errors or issues that may arise from following these notes.
 

almalinux-deploy

A migration tool for converting Enterprise Linux to AlmaLinux.

How to use

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

  1. Your system needs to be running CentOS 8.4 or 8.5 for conversion. While updating to 8.5 is suggested before the migration, it's not mandatory if you are already on at least 8.4. After applying updates, a reboot is advisable if your system received new packages.

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

  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 check the output for any 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 was 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. We appreciate your choice of AlmaLinux!