Installing guest tools

To be able to install the guest tools in virtual machines, you first need to create and upload compute images from the supplied guest tools ISO files located in /usr/share/vz-guest-tools/. Execute the following commands on one of the compute nodes:

  • For Linux guest tools:

    # vinfra service compute image create vz-guest-tools-lin \
    --file /usr/share/vz-guest-tools/vz-guest-tools-lin.iso --os-distro linux
    Uploading image to server [Elapsed Time: 0:00:05] ...
    
  • For Windows guest tools:

    # vinfra service compute image create vz-guest-tools-win \
    --file /usr/share/vz-guest-tools/vz-guest-tools-win.iso --os-distro windows
    Uploading image to server [Elapsed Time: 0:00:09] ...
    

Next, you need to attach the created image to a VM and run the guest tools installer. The steps differ for new and already existing VMs and are described in the following subsections.