CentOS 6.6 / 7.0 x64 + Chef + VirtualBox / VMWare for Packer Template
cd centos6 or centos7
packer validate [ CentOS_6.json | CentOS_7.json ]
VERSION=v20150213 packer build [ -only virtualbox-iso | -only vmware-iso ] [ CentOS_6.json | CentOS_7.json ]
box add BOXNAME INSANEWORKS-CentOS-6.6-x86_64-v20150213-virtualbox.box
box add BOXNAME INSANEWORKS-CentOS-7.0-x86_64-v20150213-virtualbox.box
or
box add BOXNAME INSANEWORKS-CentOS-6.6-x86_64-v20150213-vmware.box
box add BOXNAME INSANEWORKS-CentOS-7.0-x86_64-v20150213-vmware.box
mkdir centos
cd centos
vagrant init insaneworks/centos
or
vagrant init insaneworks/centos7
vagrant up
mkdir centos
cd centos
vagrant init INSANEWORKS-CentOS-6.6-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-6.6-x86_64-v20150213-virtualbox.box
vagrant init INSANEWORKS-CentOS-7.0-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-7.0-x86_64-v20150213-virtualbox.box
or
vagrant init INSANEWORKS-CentOS-6.6-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-6.6-x86_64-v20150213-vmware.box
vagrant init INSANEWORKS-CentOS-7.0-x86_64-v20150213 http://www.insaneworks.co.jp/pub/boxes/INSANEWORKS-CentOS-7.0-x86_64-v20150213-vmware.box
vagrant up
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
- config.vm.box = "base"
+ config.vm.box = "insaneworks/centos" or "insaneworks/centos7"
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine. In the example below,
vagrant up
Enjoy!!