mirror of
https://github.com/elasticdog/packer-arch.git
synced 2026-07-17 16:36:26 +00:00
Install VMware's Open VM Tools
This commit is contained in:
parent
572b2d8c88
commit
6311877e6f
2 changed files with 15 additions and 0 deletions
|
|
@ -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 }}'",
|
||||
|
|
|
|||
9
scripts/install-vmware.sh
Normal file
9
scripts/install-vmware.sh
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue