A few days ago Microsoft released the latest version of Hyper-V Integration Services for Linux (version 4).
The reason to install Hyper-V Integration Services for Linux lies in the additional features that are enabled when you do so, among the various reason to install Linux Integration Services:
- Dynamic Memory Hot Add
- Networking and Storage performance improvements
It has to be noted that Microsoft works with Linux Kernel developers to make integration services part of the standard kernel deployed with the Linux installation.
You can download Hyper-V Integration Services for Linux v4.0 from here both as tar file or as ISO file that can be attached to the guest VM, in this article I’ll describe the second method.
Once you have attached the Integration Services ISO file mount it in the guest OS:
As you can see in the image the ISO file contains necessary files for all supported distributions and two scripts which can be used to install or update Integration Services for Linux.
If your Linux machine is running default Integration Services coming with Hyper-V you can use the install.sh script to perform an update to the latest Integration Services version simply launching the install.sh script like this:
Once the script has finished installing necessary modules reboot the system, to check Hyper-V Integration Services for Linux have been correctly installed/updated to version 4 issue the command:
Which will display version of installed Integration Services which should be 4.0.7 as in the picture below: