4.9.1. Installing virt-manager

To prepare for managing Virtuozzo 7 containers and VMs with virt-manager, do the following:

  1. Add the Virtuozzo repository to your OS by creating /etc/yum.repos.d/virtuozzo.repo with the following contents:

    [vz]
    name=vz
    mirrorlist=http://download.openvz.org/virtuozzo/mirrorlists/7.0/factory-os.mirrorlist
    enabled=1
    gpgcheck=0
  2. Install virt-manager from the Virtuozzo repository:

    # yum install virt-manager
  3. Connect virt-manager to Virtuozzo:

    1. Launch virt-manager.
    2. In the File > Add connection window, select Virtuozzo in the hypervisor drop-down list.
    3. Select the preferred connection type (SSH by default) and specify connection options.
    4. Enter the password.
  4. On the Edit > Preferences > NewVM tab, change Storage format from System default (qcow2) to QCOW2.

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.