mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Fixes.
This commit is contained in:
parent
492c75dd4b
commit
d35b2d3b38
1 changed files with 4 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ virt_check () {
|
||||||
hypervisor=$(systemd-detect-virt)
|
hypervisor=$(systemd-detect-virt)
|
||||||
case $hypervisor in
|
case $hypervisor in
|
||||||
kvm ) print "KVM has been detected, setting up guest tools."
|
kvm ) print "KVM has been detected, setting up guest tools."
|
||||||
pacstrap /mnt qemu-guest-agent >/dev/null
|
pacstrap /mnt qemu-guest-agent &>/dev/null
|
||||||
systemctl enable qemu-guest-agent --root=/mnt &>/dev/null
|
systemctl enable qemu-guest-agent --root=/mnt &>/dev/null
|
||||||
;;
|
;;
|
||||||
vmware ) print "VMWare Workstation/ESXi has been detected, setting up guest tools."
|
vmware ) print "VMWare Workstation/ESXi has been detected, setting up guest tools."
|
||||||
|
|
@ -34,14 +34,15 @@ virt_check () {
|
||||||
systemctl enable vmware-vmblock-fuse --root=/mnt &>/dev/null
|
systemctl enable vmware-vmblock-fuse --root=/mnt &>/dev/null
|
||||||
;;
|
;;
|
||||||
oracle ) print "VirtualBox has been detected, setting up guest tools."
|
oracle ) print "VirtualBox has been detected, setting up guest tools."
|
||||||
pacstrap /mnt virtualbox-guest-utils >/dev/null
|
pacstrap /mnt virtualbox-guest-utils &>/dev/null
|
||||||
systemctl enable vboxservice --root=/mnt &>/dev/null
|
systemctl enable vboxservice --root=/mnt &>/dev/null
|
||||||
;;
|
;;
|
||||||
microsoft ) print "Hyper-V has been detected, setting up guest tools."
|
microsoft ) print "Hyper-V has been detected, setting up guest tools."
|
||||||
pacstrap /mnt hyperv >/dev/null
|
pacstrap /mnt hyperv &>/dev/null
|
||||||
systemctl enable hv_fcopy_daemon --root=/mnt &>/dev/null
|
systemctl enable hv_fcopy_daemon --root=/mnt &>/dev/null
|
||||||
systemctl enable hv_kvp_daemon --root=/mnt &>/dev/null
|
systemctl enable hv_kvp_daemon --root=/mnt &>/dev/null
|
||||||
systemctl enable hv_vss_daemon --root=/mnt &>/dev/null
|
systemctl enable hv_vss_daemon --root=/mnt &>/dev/null
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue