/packer-templates

Packer base OS templates

Primary LanguageShell

Packer Templates

This is a set of templates to create base OS images for various uses.

Table of Contents

Required Software

Optional Software

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

Running Packer

If you want to build only virtualbox or vmware

packer build --only=virtualbox-iso template.json
packer build --only=vmware-iso template.json

Builders

Not supported by vagrant and not implemented yet: docker openstack qemu - xen

Post Processors

Supported Packer Versions

Templates tested with packer 0.6.1

Bitdeli Badge