HyperV added

Only enabled so far for Archlinux and CentOS. Also, needed to change file endings on ALL THE THINGS. Might or might not show up.
This commit is contained in:
Greg Hellings
2023-08-25 11:51:45 -05:00
parent 7f2ba562a4
commit e2f62a80bd
8 changed files with 83 additions and 20 deletions
+8
View File
@@ -53,5 +53,13 @@ EOF
sed -i -E -e 's/^.*UseDNS.*$/UseDNS no/'
echo "PubkeyAcceptedKeyTypes +ssh-rsa" >> /etc/ssh/sshd_config
virt="$(systemd-detect-virt)"
if [ "${virt}" == "microsoft" ]; then
yum install -y hyperv-daemons
systemctl enable hpervfcopyd
systemctl enable hypervkvpd
systemctl enable hypervvssd
fi
%end