diff --git a/easy-arch.sh b/easy-arch.sh index 8bc34e6..bf303df 100755 --- a/easy-arch.sh +++ b/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