download ⇒ https://download.openvz.org/virtuozzo/factory9/x86_64/iso/openvz-iso-9.0.1-383.iso
create a boot USB key , supposed your USB key associated with device /dev/sdb
# dd if=openvz-iso-9.0.1-383.iso of=/dev/sdb status=progress
boot on the USB key and follow the traditional RHEL like installation process
MOTD generated at: 03:54:04 Uptime: 15:11 OS: OpenVZ release 9.0.1 (383) IP: 10.10.2.9 192.168.122.1 fe80::13ad:4233:760f:3646/64 Hostname: tovz.domain.fr Kernel: 5.14.0-70.22.1.vz9.17.12 GNU/Linux System Load: 0.0 /vz Usage: 0% of 470G Swap Usage: 0% RAM Free: 96% of 23.2GB Last login: Thu Feb 2 12:54:48 2023 from 10.10.2.10
During the install process, automatic partition is choosed (here with UEFI bios) , here is the result
[root@tovz ~]# df -H Filesystem Size Used Avail Use% Mounted on devtmpfs 13G 0 13G 0% /dev tmpfs 13G 8.2k 13G 1% /dev/shm tmpfs 5.0G 9.9M 5.0G 1% /run tmpfs 4.2M 0 4.2M 0% /sys/fs/cgroup /dev/mapper/openvz-root 68G 4.2G 60G 7% / /dev/sda1 4.2G 191M 3.8G 5% /boot /dev/sda2 210M 7.3M 203M 4% /boot/efi /dev/mapper/openvz-vz 504G 309M 478G 1% /vz tmpfs 2.5G 0 2.5G 0% /run/user/0
Most of the disk space is dedicated th CT/VM storage in /vz
list of defaut VM/CT os templates
[root@tovz ~]# vzpkg list -O --with-summary centos-7-x86_64 :Centos 7 (for AMD64/Intel EM64T) Virtuozzo Template debian-11.0-x86_64 :Debian 11.0 (for AMD64/Intel EM64T) Virtuozzo Template debian-10.0-x86_64 :Debian 10.0 (for AMD64/Intel EM64T) Virtuozzo Template almalinux-8-x86_64 :AlmaLinux 8 (for AMD64/Intel EM64T) Virtuozzo Template ubuntu-20.04-x86_64 :Ubuntu 20.04 (for AMD64/Intel EM64T) Virtuozzo Template ubuntu-18.04-x86_64 :Ubuntu 18.04 (for AMD64/Intel EM64T) Virtuozzo Template vzlinux-8-x86_64 :vzlinux 8 (for AMD64/Intel EM64T) Virtuozzo Template vzlinux-9-x86_64 :Vzlinux 9 (for AMD64/Intel EM64T) Virtuozzo Template vzlinux-7-x86_64 :VzLinux 7 (for AMD64/Intel EM64T) Virtuozzo Template rhel-8-x86_64 :Centos 8 (for AMD64/Intel EM64T) Virtuozzo Template rhel-7-x86_64 :Centos 7 (for AMD64/Intel EM64T) Virtuozzo Template
in this test lab of OVZ9 we would like to test VMs and CTs on different Vlans, so there is a networking configuration stage to prepare. As there's not yet a dedicated OVZ9 doc on this, we'll take a combination of OVZ7 and RHEL9 docs on this matter :
By default, OVZ9 installer creates a bridge0 (br0) on ethernet1 (eno1) and assignes the IP address (dhcp by default, fix it !)
[root@tovz ~]# nmcli device status DEVICE TYPE STATE CONNECTION br0 bridge connected Bridge br0 virbr0 bridge connected (externally) virbr0 eno1 ethernet connected eno1 eno2 ethernet disconnected -- eno3 ethernet disconnected -- eno4 ethernet disconnected -- lo loopback unmanaged --
[root@tovz ~]# brctl show bridge name bridge id STP enabled interfaces br0 8000.e0db550d6768 no eno1 virbr0 8000.525400a50a98 yes
in terms of ifcfg* config file it result in
[root@tovz ~]# cat /etc/sysconfig/network-scripts/ifcfg-eno1 TYPE="Ethernet" NAME="eno1" UUID="c528abc8-5378-4d49-8407-884c87f77ff0" DEVICE="eno1" ONBOOT="yes" BRIDGE="br0" [root@tovz ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0 DEVICE="br0" PROXY_METHOD="none" BROWSER_ONLY="no" BOOTPROTO="dhcp" DEFROUTE="yes" IPV4_FAILURE_FATAL="no" IPV6INIT="yes" IPV6_AUTOCONF="yes" IPV6_DEFROUTE="yes" IPV6_FAILURE_FATAL="no" IPV6_ADDR_GEN_MODE="stable-privacy" ONBOOT="yes" TYPE="Bridge" DELAY="2" STP="off" UUID="82899342-5b36-4947-a8b7-352880176976" ZONE="trusted"
[root@tovz yum.repos.d]# dnf update Last metadata expiration check: 3:58:06 ago on Fri 03 Feb 2023 07:19:16 AM EST. Dependencies resolved. ================================================================================================================================================================ Package Architecture Version Repository Size ================================================================================================================================================================ Upgrading: authselect x86_64 1.2.5-2.vl9 virtuozzolinux-base 142 k authselect-libs x86_64 1.2.5-2.vl9 virtuozzolinux-base 222 k bash x86_64 5.1.8-6.vl9 virtuozzolinux-base 1.7 M curl x86_64 7.76.1-19.vl9.1 virtuozzolinux-base 303 k expat x86_64 2.4.9-1.vl9.1 virtuozzolinux-base 115 k fontconfig x86_64 2.14.0-2.vl9 virtuozzolinux-base 275 k glibc x86_64 2.34-40.vl9.1 virtuozzolinux-base 2.2 M glibc-all-langpacks x86_64 2.34-40.vl9.1 virtuozzolinux-base 27 M glibc-common x86_64 2.34-40.vl9.1 virtuozzolinux-base 291 k glibc-devel x86_64 2.34-40.vl9.1 virtuozzolinux-base 42 k glibc-gconv-extra x86_64 2.34-40.vl9.1 virtuozzolinux-base 1.6 M glibc-headers x86_64 2.34-40.vl9.1 virtuozzolinux-base 474 k iputils x86_64 20210202-8.vl9.1 virtuozzolinux-base 167 k libcurl x86_64 7.76.1-19.vl9.1 virtuozzolinux-base 284 k libtasn1 x86_64 4.16.0-8.vl9 virtuozzolinux-base 74 k libteam x86_64 1.31-16.vl9 virtuozzolinux-base 48 k libxml2 x86_64 2.9.13-3.vl9 virtuozzolinux-base 752 k pki-servlet-4.0-api noarch 1:9.0.50-1.vl9 virtuozzolinux-base 285 k python3 x86_64 3.9.14-1.2.vl9 virtuozzolinux-base 29 k python3-libs x86_64 3.9.14-1.2.vl9 virtuozzolinux-base 7.8 M python3-libxml2 x86_64 2.9.13-3.vl9 virtuozzolinux-base 228 k rsync x86_64 3.2.3-9.vl9.1.1 virtuozzolinux-base 387 k sqlite-libs x86_64 3.34.1-6.vl9 virtuozzolinux-base 623 k swtpm x86_64 0.7.0-4.20211109gitb79fd91.vl9 virtuozzolinux-base 41 k swtpm-libs x86_64 0.7.0-4.20211109gitb79fd91.vl9 virtuozzolinux-base 48 k swtpm-tools x86_64 0.7.0-4.20211109gitb79fd91.vl9 virtuozzolinux-base 116 k teamd x86_64 1.31-16.vl9 virtuozzolinux-base 112 k tpm2-tss x86_64 3.0.3-8.vl9 virtuozzolinux-base 567 k virt-install noarch 4.0.0-1.vl9 virtuozzolinux-base 43 k virt-manager noarch 4.0.0-1.vl9 virtuozzolinux-base 576 k virt-manager-common noarch 4.0.0-1.vl9 virtuozzolinux-base 1.1 M zlib x86_64 1.2.11-35.vl9 virtuozzolinux-base 92 k Installing dependencies: libburn x86_64 1.5.4-3.vl9 virtuozzolinux-base 195 k libisoburn x86_64 1.5.4-4.vl9 virtuozzolinux-base 417 k libisofs x86_64 1.5.4-4.vl9 virtuozzolinux-base 220 k xorriso x86_64 1.5.4-4.vl9 virtuozzolinux-base 317 k Transaction Summary ================================================================================================================================================================ Install 4 Packages Upgrade 32 Packages Total download size: 48 M Is this ok [y/N]: y