mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 11:30:55 +00:00
VMs stuff.
This commit is contained in:
parent
0ee827eb1e
commit
1eeae7b67c
1 changed files with 23 additions and 6 deletions
29
easy-arch.sh
29
easy-arch.sh
|
|
@ -196,15 +196,32 @@ pacstrap /mnt base $kernel $microcode linux-firmware btrfs-progs grub grub-btrfs
|
||||||
# Virtualization check
|
# Virtualization check
|
||||||
hypervisor=$(systemd-detect-virt)
|
hypervisor=$(systemd-detect-virt)
|
||||||
case $hypervisor in
|
case $hypervisor in
|
||||||
kvm ) print "KVM has been detected."
|
kvm ) print "KVM has been detected."
|
||||||
|
print "Installing guest tools."
|
||||||
|
pacstrap /mnt qemu-guest-agent
|
||||||
|
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."
|
vmware ) print "VMWare Workstation/ESXi has been detected."
|
||||||
|
print "Installing guest tools."
|
||||||
|
pacstrap /mnt open-vm-tools
|
||||||
|
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."
|
||||||
|
pacstrap /mnt virtualbox-guest-utils
|
||||||
|
print "Enabling specific services for the guest tools."
|
||||||
|
systemctl enable vboxservice --root=/mnt &>/dev/null
|
||||||
;;
|
;;
|
||||||
microsoft ) print "Hyper-V has been detected."
|
microsoft ) print "Hyper-V has been detected."
|
||||||
;;
|
print "Installing guest tools."
|
||||||
xen ) print "Xen/Citrix Hypervisor has been detected."
|
pacstrap /mnt hyperv
|
||||||
;;
|
print "Enabling specific services for the guest tools."
|
||||||
parallels ) print "Parallels has been detected."
|
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
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue