AlmaLinux8

Version 1: Starting template for moving away from CentOS8 due to its end of life. AlmaLinux provides a direct, binary-compatible substitute for CentOS8.
 

Migration guidance for those looking to upgrade or transfer their CentOS8 templates

The following is drawn from AlmaLinux's official documentation, available at https://github.com/AlmaLinux/almalinux-deploy. We recommend checking that link for the most current version; the text here is a snapshot from March 29, 2022, included for reference. This is offered as a resource for our community, but we assume no liability for any mistakes or issues that might arise from its use.
 

almalinux-deploy

A migration utility to convert an EL system over to AlmaLinux.

Usage

To convert your EL8 OS to AlmaLinux, take these steps:

  1. CentOS 8.4 or 8.5 is needed to switch to AlmaLinux. While moving to 8.5 before the conversion is advised, it's not strictly required if you're already on at least 8.4. A restart after applying any new updates is suggested.

    sudo dnf update -y
    sudo reboot
    
  1. Make a system backup. Not every possible scenario has been tested, so there's a chance something might go wrong. Having a backup ensures you have 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 its output for any errors:

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

    sudo reboot
    
  5. Verify that the conversion was successful:

    # 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 opting for AlmaLinux!