AlmaLinux / almalinux-deploy

EL to AlmaLinux migration tool.
GNU General Public License v3.0
543 stars 72 forks source link

Add Virtuozzo Linux (VZLinux) 8 Support #141

Closed futureweb closed 2 years ago

futureweb commented 2 years ago

tests adjusted

futureweb commented 2 years ago

2 VZLinux Machines converted without Problems. On 1 VZLinux Machine manual adjust of VERSION_ID (/etc/os-release) was needed - as it still reflected 8 even the machine was on 8.5?!

andrewlukoshko commented 2 years ago

Thanks. We'll test it soon.

sboldyreva commented 2 years ago

Hello! Running the script on the latest VZLinux OS has the following output:

Check root privileges                                                 OK
Check virtuozzo-8.x86_64 is supported                                 OK
Download RPM-GPG-KEY-AlmaLinux                                        OK
Import RPM-GPG-KEY-AlmaLinux to RPM DB                                OK
Download almalinux-release package                                    OK
Verify almalinux-release package                                      OK
Please upgrade your OS from 8 to                                      ERROR
    at least 8.4 and try again
srbala commented 2 years ago

VZLinux Machine manual adjust of VERSION_ID (/etc/os-release) was needed - as it still reflected 8 even the machine was on 8.5?!

@futureweb script should be able to pass the check without adjusting any files or should have been added as pre processing steps in documentation

I would suggest to Check for CentOS and CentOS Stream, they have some bypass when OS checks does not follow the standard name/id pattern. Add a check for VZLinux type version 8 and apply the bypass.

futureweb commented 2 years ago

@srbala - thx for the info regarding CentOS Version detection - adopted it for VZLinux - now Script is running fine without changes in /etc/os-release ... :-)

Tested on 2 VZLinux installations - all converted without problems.