mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
Cosmetics.
This commit is contained in:
parent
1061b8b9a5
commit
e1ffe09e7d
1 changed files with 4 additions and 12 deletions
16
easy-arch.sh
16
easy-arch.sh
|
|
@ -24,29 +24,21 @@ incEcho () {
|
|||
virt_check () {
|
||||
hypervisor=$(systemd-detect-virt)
|
||||
case $hypervisor in
|
||||
kvm ) print "KVM has been detected."
|
||||
print "Installing guest tools."
|
||||
kvm ) print "KVM has been detected, setting up guest tools."
|
||||
pacstrap /mnt qemu-guest-agent >/dev/null
|
||||
print "Enabling specific services for the guest tools."
|
||||
systemctl enable qemu-guest-agent --root=/mnt &>/dev/null
|
||||
;;
|
||||
vmware ) print "VMWare Workstation/ESXi has been detected."
|
||||
print "Installing guest tools."
|
||||
vmware ) print "VMWare Workstation/ESXi has been detected, setting up guest tools."
|
||||
pacstrap /mnt open-vm-tools >/dev/null
|
||||
print "Enabling specific services for the guest tools."
|
||||
systemctl enable vmtoolsd --root=/mnt &>/dev/null
|
||||
systemctl enable vmware-vmblock-fuse --root=/mnt &>/dev/null
|
||||
;;
|
||||
oracle ) print "VirtualBox has been detected."
|
||||
print "Installing guest tools."
|
||||
oracle ) print "VirtualBox has been detected, setting up guest tools."
|
||||
pacstrap /mnt virtualbox-guest-utils >/dev/null
|
||||
print "Enabling specific services for the guest tools."
|
||||
systemctl enable vboxservice --root=/mnt &>/dev/null
|
||||
;;
|
||||
microsoft ) print "Hyper-V has been detected."
|
||||
print "Installing guest tools."
|
||||
microsoft ) print "Hyper-V has been detected, setting up guest tools."
|
||||
pacstrap /mnt hyperv >/dev/null
|
||||
print "Enabling specific services for the guest tools."
|
||||
systemctl enable hv_fcopy_daemon --root=/mnt &>/dev/null
|
||||
systemctl enable hv_kvp_daemon --root=/mnt &>/dev/null
|
||||
systemctl enable hv_vss_daemon --root=/mnt &>/dev/null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue