10.5. Converting Containers with almaconvert8

Virtuozzo Hybrid Server introduces the option of converting the CentOS 7, CentOS 8, VzLinux 7, and VzLinux 8 operating systems running on a container to AlmaLinux 8.

Use the almaconvert8 list command to list all the containers available for converting. For example:

# almaconvert8 list

...

MyCT-centos8
MyCT-centos7
MyCT-vzlinux7
MyCT-4-vzlinux8

Run the almaconvert8 convert command to convert a container from one operating system to AlmaLinux 8. For example, to convert the MyCT container to AlmaLinux 8, use the following:

# almaconvert8 convert MyCT

If you need to convert several containers simultaneously, run the following:

# almaconvert8 convert --parallel 7

7 is the number of containers that undergo the conversion concurrently.

Find below the list of options you can use when running the almaconvert8 convert command.

almaconvert8 convert [-h] [--dry-run] [-q] [-v] [--log LOG]
                     [--parallel [parallel]] [--elevate] [--strict]
                     CT [CT1 CT2 ... CTn]

Name

Description

CT

The UUID, CTID, or name of the container to convert. If there are several containers to convert, delimit them by spaces.

-h, --help

Provide the list of flags used with almaconvert8 convert.

--dry-run

Check that the conversion is possible.

-q, --quiet

Suppress the output.

-v, --verbose

Provide detailed processing information.

--log LOG

Dump all the information and messages to the specified log file.

--parallel [parallel]

The number of simultaneous conversions to execute.

--elevate

Call the elevate upgrade scripts and wait for them to complete.

--strict

Block the conversion when a precheck message appears.

Note

The --elevate option is an experimental feature for third-party scripts and is optional. Use it only when you have a complete understanding of the way this option is used.