Converting from CentOS 7
To convert a CentOS 7 installation to VzLinux 8, do the following:
Log in as the root user.
Update the system:
1# yum updateAdd the VzLinux repository. For example:
1 2 3 4 5 6 7# cat << EOF > /etc/yum.repos.d/vzlinux.repo [vzlinux] name=vzlinux baseurl=http://repo.virtuozzo.com/vzlinux/7.9/x86_64/os/ enabled=1 gpgcheck=0 EOFInstall the conversion tool from the VzLinux repository:
1# yum install vzupgradeDisable the VzLinux repository. For example:
1# yum-config-manager --disable vzlinuxOptionally, add custom executable files. Files placed in
/usr/share/vzupgrade/pre-checkwill be run before the check stage (includingvzupgrade check). Files placed in/usr/share/vzupgrade/pre-installwill be run before the upgrade stage. All executable files are run in the alphabetical order.Check that the system is ready for converting:
1 2 3 4 5 6 7# vzupgrade check --skip-vz No upgrade blockers found! <...> A report has been generated at /var/log/leapp/leapp-report.json A report has been generated at /var/log/leapp/leapp-report.txt <...> Answerfile has been generated at /var/log/leapp/answerfileThis command will imitate the conversion, downloading the required RPM packages in the process.
If issues are found, investigate the logs in
/var/log/leapp. In addition, note the packages that are marked as unknown. They may be removed during the upgrade.Once no blockers have been found and the system is ready, launch the conversion:
1 2 3 4 5 6 7# vzupgrade install --skip-vz <...> A reboot is required to continue. Please reboot your system. A report has been generated at /var/log/leapp/leapp-report.json A report has been generated at /var/log/leapp/leapp-report.txt <...> Answerfile has been generated at /var/log/leapp/answerfileThe upgrade tool will perform preparation steps and ask you to reboot to the kernel
Vz-Upgrade-Initramfsto perform the upgrade.Reboot to the VzLinux 8 kernel.