/rhel2centos

RHEL 7 to CentOS 7 migration tool.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

RHEL 7 to CentOS 7 migration tool

Usage

In order to convert your RHEL 7 operating system to CentOS 7 do the following:

  1. Make a backup 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 migrate_7.py script:
    $ curl -O https://raw.githubusercontent.com/cloudlinux/rhel2centos/main/migrate_7.py
  3. Run the script and check its output for errors:
    $ sudo python migrate_7.py
      ...
      The system is migrated to CentOS 7
  4. Ensure that your system was successfully converted:
    # check release file
    $ cat /etc/redhat-release
    CentOS Linux release 7.9.2009 (Core)
    
    # check that the system boots CentOS kernel by default
    $ sudo grubby --info DEFAULT | grep CentOS
    title=CentOS Linux (3.10.0-1160.31.1.el7.x86_64) 7 (Core)

License

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