Some Packer script to generate various Vagrant boxes
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ansible
centos5
centos6
centos7
files
scripts
.dockerignore
.gitignore
README.md

README.md

Overview:

Packer templates and scripts to build CentOS-5 and CentOS-6 hosts for compilation. Contains most devel packages...

https://app.vagrantup.com/boxes/search

Local build:

packer build -only=default centos6/template.json

Released build:

Build a variables JSON file, define the following variables:

``̀

{ "buildversion": "the-build-version", "cloud_token": "your-vagrant-cloud-token", "changes_list": "List here the changes compared to previous version.", "base_path": "Where to put the generated box, on your local disk", "release_base_url": "URL of the released box (for boxes stored outside Vagrant cloud)" }

̀̀

packer build -only=atlas -var-file=centos6/variables.json centos6/template.json

Docker build:

docker build -t -f centos/Dockerfile .