AlmaLinux8

v1: This initial template aims to help you migrate from CentOS8 templates now that it's reached its end of life. AlmaLinux is a direct, one-to-one binary replacement for CentOS8.
 

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

This details come from the official AlmaLinux guide, which you'll find at https://github.com/AlmaLinux/almalinux-deploy. Always check that link for the most up-to-date version—what's shown below was current as of 29/3/2022.

We're providing this as a resource for our community, but we can't be held liable for any errors or problems that might arise from these notes.
 

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

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

  1. You need to be running CentOS 8.4 or 8.5 to make the switch to AlmaLinux. While it's a good idea to update to 8.5 beforehand, it's not strictly necessary if you're already on at least CentOS 8.4. If your system applies new updates, a reboot is recommended.

    sudo dnf update -y
    sudo reboot
    
  1. Make a backup of your system. We haven't tested every possible scenario, so there's a chance something could go pear-shaped. A backup will give you a restore point just in case.

  2. Grab the almalinux-deploy.sh script:

    $ curl -O https://raw.githubusercontent.com/AlmaLinux/almalinux-deploy/master/almalinux-deploy.sh
  3. Execute the script and keep an eye out for any errors in the output:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
  4. It's a good idea to reboot so you start using the AlmaLinux kernel:

    sudo reboot
    
  5. Double-check that the conversion went well:

    # 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!