Home

Awesome

almalinux-deploy

An EL to AlmaLinux migration tool.

Usage

In order to convert your EL8 and EL9 operating systems to AlmaLinux do the following:

  1. CentOS 8.4 or 8.5 is required to convert to AlmaLinux. It is recommended to update to 8.5 prior to moving to AlmaLinux but not required if you are on at least CentOS 8.4. Rebooting after the updates is recommended if your system received new updates.

    sudo dnf update -y
    sudo reboot
    
  1. Back up of the system. We didn't test all possible scenarios so there is a risk that something goes wrong. In such a situation you will 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 errors:

    $ sudo bash almalinux-deploy.sh
      ...
      Migration to AlmaLinux is completed
    
  4. Reboot is recommended to boot with AlmaLinux kernel:

    sudo reboot
    
  5. Ensure 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. Thank you for choosing AlmaLinux!

Roadmap

Get Involved

Any contribution is welcome:

Technology stack:

To run the functional tests do the following:

  1. Install Vagrant and VirtualBox.
  2. Install requirements from the requirements.txt file.
  3. Run molecule test --all in the project root.

License

Licensed under the GPLv3 license, see the LICENSE file for details.