To prepare for managing Virtuozzo 7 containers and VMs with virt-manager, do the following:
-
Add the Virtuozzo repository to your OS by creating
/etc/yum.repos.d/virtuozzo.repowith the following contents:[vz] name=vz mirrorlist=http://download.openvz.org/virtuozzo/mirrorlists/7.0/factory-os.mirrorlist enabled=1 gpgcheck=0
-
Install virt-manager from the Virtuozzo repository:
# yum install virt-manager -
Connect virt-manager to Virtuozzo:
- Launch virt-manager.
- In the File > Add connection window, select Virtuozzo in the hypervisor drop-down list.
- Select the preferred connection type (SSH by default) and specify connection options.
- Enter the password.
-
On the Edit > Preferences > NewVM tab, change Storage format from
System default (qcow2)toQCOW2.
Note
Note: Virt-manager can create its own default network with NAT while creating a container or VM. Virtuozzo 7 does not support NAT by default. For instructions on how to enable NAT, visit https://openvz.org/Using_NAT_for_container_with_private_IPs. We recommend that you use a Virtuozzo bridged or host-routed network.