diff --git a/arch-template.json b/arch-template.json index 96232a0..fff6e73 100644 --- a/arch-template.json +++ b/arch-template.json @@ -113,6 +113,12 @@ "execute_command": "{{ .Vars }} sudo -E -S bash '{{ .Path }}'", "script": "scripts/install-virtualbox.sh" }, + { + "only": ["vmware-iso"], + "type": "shell", + "execute_command": "{{ .Vars }} sudo -E -S bash '{{ .Path }}'", + "script": "scripts/install-vmware.sh" + }, { "type": "shell", "execute_command": "{{ .Vars }} sudo -E -S bash '{{ .Path }}'", diff --git a/scripts/install-vmware.sh b/scripts/install-vmware.sh new file mode 100644 index 0000000..d8ae108 --- /dev/null +++ b/scripts/install-vmware.sh @@ -0,0 +1,9 @@ +#!/usr/bin/bash -x + +# Open VM Tools +# https://wiki.archlinux.org/index.php/VMware +# https://wiki.archlinux.org/index.php/VMware/Installing_Arch_as_a_guest +/usr/bin/pacman -S --noconfirm linux-headers open-vm-tools nfs-utils + +/usr/bin/systemctl enable vmtoolsd.service +/usr/bin/systemctl enable rpcbind.service