Hi
I am trying to build a windows 7 VM using packer build. Following is my json template which I was able to validate successfully.
{
"builders": [{
"vm_name" : "win7-packer",
"type": "vmware",
"guest_os_type": "Windows7_64",
"iso_url": "/home/hdesai/en_windows_7_professional_n_with_sp1_x86_dvd_624000.iso",
"iso_checksum": "27b4eef1c1abf8ba5d4ad3c7a4e14586",
"iso_checksum_type": "md5",
"ssh_username": "dev",
"ssh_wait_timeout": "30s"
}]
}
However, I get a vmware executable file not found in $PATH. In the documentation, I could not find a step that I missed about installing the vmware executable and adding it to PATH. What did I miss?
$ packer build win7.json
vmware output will be in this color.
Build 'vmware' errored: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors
from each driver are shown below. Please fix at least one driver
to continue:
* exec: "vmware": executable file not found in $PATH
* VMware Player application ('vmplayer') not found in path.
==> Some builds didn't complete successfully and had errors:
--> vmware: Failed creating VMware driver: Unable to initialize any driver for this platform. The errors
from each driver are shown below. Please fix at least one driver
to continue:
* exec: "vmware": executable file not found in $PATH
* VMware Player application ('vmplayer') not found in path.
==> Builds finished but no artifacts were created.
Thanks
Harsh