If you are running a hyper-v server with an Ubuntu 16.04 guest, it is beneficial to install the Linux Integration Services (LIS). This is comparable to VMware tools which provides a connection between the host and the VM for proper reboots etc.
To enable this on your guest operating system we need to edit the module files located in:
Once you are in nano add the following to the end of the file:
hv_vmbus hv_storvsc hv_blkvsc hv_netvsc
Save the file.
Next we are going to install the linux virtual tools and reinitialize the modules file.
apt-get install --install-recommends linux-tools-virtual-lts-xenial linux-cloud-tools-virtual-lts-xenial update-initramfs -u reboot
Once the machine has rebooted the LIS drivers will be enabled on the system.
All that has to be done now is this one apt-get command:
apt-get install linux-tools-virtual-lts-xenial linux-cloud-tools-virtual-lts-xenial