VMware build can be done with packer on Ubuntu using VMware Player 6.
Download VMware Player 6 from:
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0|PLAYER-603|product_downloads
Also, click on Driver & Tools and download the correct version of VIX.
e.g.
If you see errors like vmware or vmrun not in $PATH, VIX was not installed properly.
If you see errors like "specified version not found", incorrect version of VIX was installed.
If you see qemu related errors, qemu-utils was not installed.
vmware-iso only outputs the vmware instance as .vmx along with other files.
To export to ovf/ova format
Download VMware Player 6 from:
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0|PLAYER-603|product_downloads
Also, click on Driver & Tools and download the correct version of VIX.
e.g.
$ wget https://download3.vmware.com/software/player/file/VMware-Player-6.0.3-1895310.x86_64.bundle $ chmod +x VMware-Player-6.0.3-1895310.x86_64.bundle $ sudo ./VMware-Player-6.0.3-1895310.x86_64.bundle $ wget https://download3.vmware.com/software/player/file/VMware-VIX-1.13.3-1895310.x86_64.bundle $ chmod +x VMware-VIX-1.13.3-1895310.x86_64.bundle $ sudo ./VMware-VIX-1.13.3-1895310.x86_64.bundle $ sudo apt-get install qemu-utils $ packer build vmware.json
If you see errors like vmware or vmrun not in $PATH, VIX was not installed properly.
If you see errors like "specified version not found", incorrect version of VIX was installed.
If you see qemu related errors, qemu-utils was not installed.
vmware-iso only outputs the vmware instance as .vmx along with other files.
To export to ovf/ova format
$ ovftool appliance.vmx appliance.ovf $ ovftool appliance.vmx appliance.ova
No comments:
Post a Comment