mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40: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 () {
|
virt_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, setting up guest tools."
|
||||||
print "Installing guest tools."
|
|
||||||
pacstrap /mnt qemu-guest-agent >/dev/null
|
pacstrap /mnt qemu-guest-agent >/dev/null
|
||||||
print "Enabling specific services for the guest tools."
|
|
||||||
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."
|
vmware ) print "VMWare Workstation/ESXi has been detected, setting up guest tools."
|
||||||
print "Installing guest tools."
|
|
||||||
pacstrap /mnt open-vm-tools >/dev/null
|
pacstrap /mnt open-vm-tools >/dev/null
|
||||||
print "Enabling specific services for the guest tools."
|
|
||||||
systemctl enable vmtoolsd --root=/mnt &>/dev/null
|
systemctl enable vmtoolsd --root=/mnt &>/dev/null
|
||||||
systemctl enable vmware-vmblock-fuse --root=/mnt &>/dev/null
|
systemctl enable vmware-vmblock-fuse --root=/mnt &>/dev/null
|
||||||
;;
|
;;
|
||||||
oracle ) print "VirtualBox has been detected."
|
oracle ) print "VirtualBox has been detected, setting up guest tools."
|
||||||
print "Installing guest tools."
|
|
||||||
pacstrap /mnt virtualbox-guest-utils >/dev/null
|
pacstrap /mnt virtualbox-guest-utils >/dev/null
|
||||||
print "Enabling specific services for the guest tools."
|
|
||||||
systemctl enable vboxservice --root=/mnt &>/dev/null
|
systemctl enable vboxservice --root=/mnt &>/dev/null
|
||||||
;;
|
;;
|
||||||
microsoft ) print "Hyper-V has been detected."
|
microsoft ) print "Hyper-V has been detected, setting up guest tools."
|
||||||
print "Installing guest tools."
|
|
||||||
pacstrap /mnt hyperv >/dev/null
|
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_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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue