Skip to content

Instantly share code, notes, and snippets.

@mark99i
Last active October 10, 2024 13:57
Show Gist options
  • Save mark99i/c2611df4a12ce1d048cd08fbc52f0002 to your computer and use it in GitHub Desktop.
Save mark99i/c2611df4a12ce1d048cd08fbc52f0002 to your computer and use it in GitHub Desktop.
# using curl -s https://gist.githubusercontent.com/mark99i/c2611df4a12ce1d048cd08fbc52f0002/raw/b8953281aece44d965ee244a3c42d7a28fe639dc/ubuntu-install-hyperv-addons.sh | bash
echo 'hv_vmbus' >> /etc/initramfs-tools/modules
echo 'hv_storvsc' >> /etc/initramfs-tools/modules
echo 'hv_blkvsc' >> /etc/initramfs-tools/modules
echo 'hv_netvsc' >> /etc/initramfs-tools/modules
apt update
apt -y install linux-virtual linux-cloud-tools-virtual linux-tools-virtual
update-initramfs -u
echo 'Need reboot for complete install'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment