AlmaLinux8

v1: The initial template to support migration away from the CentOS8 template now that it has reached its end-of-life. AlmaLinux acts as a 1:1 binary replacement for CentOS8.
 

Migration notes for those wishing to Upgrade/Migrate their CentOS8 templates

This guidance is taken from the official AlmaLinux documentation available at https://github.com/AlmaLinux/almalinux-deploy . Always check the latest version at that link; the text below is included here for reference as of today (29/3/2022).

We provide these details to help the community, but we cannot accept liability for any errors or problems that may arise from following these notes.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

To migrate your EL8 operating system to AlmaLinux, follow the steps below:

  1. Your system needs to be running CentOS 8.4 or 8.5 to convert to AlmaLinux. We suggest upgrading to 8.5 beforehand, although it is not mandatory provided you are already on at least CentOS 8.4. If any updates were installed, a reboot afterward is a good idea.

    sudo dnf update -y
    sudo reboot
    
  1. Make sure to back up your system. Since we haven’t tested every possible setup, there is always a chance something could go wrong. Having a restore point gives you a safety net in that case.

  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 watch the output for any errors:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. It is recommended that you reboot to start using the AlmaLinux kernel:

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

    # 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 you choosing AlmaLinux!