If you are using Hyper-V and running a Zentyal 4 guest, you may not be aware that Microsoft provides Linux Integration Services (LIS), which are basically Microsoft’s version of VMware Tools. In this article we will detail how to enable LIS on our Zentyal 4.2 virtual machine. The first step is to edit the “modules” file located in /etc/initramfs-tools
using the below command:
nano /etc/initramfs-tools/modules
Once in nano, navigate to the last line in the file and enter the following lines:
hv_vmbus hv_storvsc hv_blkvsc hv_netvsc
Save the file by hitting the ctrl + x and then issuing “y” for yes and then enter. Next, run the following commands to re-initialize the “modules” file, install the virtual tools and reboot the machine:
apt-get install --install-recommends hv-kvp-daemon-init linux-tools-virtual-lts-xenial linux-cloud-tools-virtual-lts-xenial update-initramfs -u reboot
Finally, once the guest virtual machine is rebooted, the LIS drivers and services will be registered in the system. In order to verify the installation, simply run lsmod
in the terminal and look for hid_hyperv, hv_netvsc, hv_utils, hv_storvc and hv_vmbus. If they are present, activation of LIS has been successful (See yellow highlights in image below ).