This is a set of templates to create base OS images for various uses.
- Packer (obviously)
- [qemu] Ubuntu: apt-get install qemu-system
- VirtualBox
- Vagrant
- VMware Player, Workstation Player, Fusion, or vSphere. For VMware Player you need the Player and VIX
- VMware Tools ISO Needed on CentOS 7 and probably others.
CentOS VMware Workstation Player - Still testing if anything else is needed
yum clean all
yum -y update
yum -y install kernel-devel-`uname -r` kernel-headers-`uname -r`
yum -y groupinstall "Development Tools"
yum -y install qemu-img
chmod u+x VMware-*.bundle
./VMware-Player-12.1.1-3770994.x86_64.bundle --console --eulas-agreed --required
./VMware-VIX-1.15.3-3770994.x86_64.bundle --console --eulas-agreed --required
./VMware-ovftool-4.1.0-2459827-lin.x86_64.bundle --console --eulas-agreed --required
# Uncompress VMware tools
#cp payload/linux.iso /usr/lib/vmware/isoimages/linux.iso
Ubuntu VMware Player Install
apt-get install build-essential linux-headers-`uname -r`
apt-get install qemu
gksudo bash VMware-Player-6.0.3-1895310.x86_64.bundle
gksudo bash VMware-VIX-1.13.3-1895310.x86_64.bundle
If you want to build only virtualbox or vmware
packer build --only=virtualbox-iso template.json
packer build --only=vmware-iso template.json
Not supported by vagrant and not implemented yet: docker openstack qemu - xen
Templates tested with packer 0.6.1