Provisioning a Centos 7 Desktop using Packer, Vagrant, Virtualbox and Ansible
Build and package the centos-7-desktop box
packer build centos-7-desktop.json
or run the including script
./build
This will generate a box file in the ./builds
folder.
Install the box
vagrant box add --force --name centos-7-desktop builds/virtualbox-centos-7-desktop.box
Start the box (without running the ansible provisioner)
vagrant up --no-provision
Modifications to the ansible roles can be tested by provisioning the vagrant machine
vagrant provision