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:
@@ -36,3 +36,16 @@ groupadd vagrant
|
||||
useradd vagrant -g vagrant -G wheel -m
|
||||
[ -d /home/vagrant ] || exit 1
|
||||
echo "vagrant:vagrant" | chpasswd
|
||||
|
||||
# Do host-specific things
|
||||
virt="$(systemd-detect-virt)"
|
||||
# Values I've found so far
|
||||
# "microsoft" == Hyper-V
|
||||
# "oracle" == VirtualBox
|
||||
# "KVM" == KVM/Qemu
|
||||
if [ "${virt}" == "microsoft" ]; then
|
||||
pacman -S --noconfirm hyperv
|
||||
systemctl enable hv_fcopy_daemon
|
||||
systemctl enable hv_kvp_daemon
|
||||
systemctl enable hv_vss_daemon
|
||||
fi
|
||||
Reference in New Issue
Block a user