Skip to content
Packer template for Vagrant box builds of CentOS-6 x86_64/i386 minimal
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
builds
http
isos
scripts
.gitignore
CentOS-6-minimal-cloud-init-virtualbox.json
CentOS-6-minimal-virtualbox.json
CentOS-6-qemu.json
CentOS-6.7-i386-minimal-cloud-init-en_US.json
CentOS-6.7-i386-minimal-en_US.json
CentOS-6.7-x86_64-minimal-cloud-init-en_US.json
CentOS-6.7-x86_64-minimal-en_US.json
CentOS-6.8-i386-minimal-cloud-init-en_US.json
CentOS-6.8-i386-minimal-en_US.json
CentOS-6.8-x86_64-minimal-cloud-init-en_US.json
CentOS-6.8-x86_64-minimal-en_US.json
CentOS-6.9-i386-minimal-cloud-init-en_US.json
CentOS-6.9-i386-minimal-en_US.json
CentOS-6.9-x86_64-minimal-cloud-init-en_US.json
CentOS-6.9-x86_64-minimal-en_US.json
CentOS-6.Vagrantfile
LICENSE
Makefile
README.md
Vagrantfile

README.md

CentOS-6 Minimal Base Box

This provides the configuration and Makefile to build a Vagrant minimal base box using Packer. The base box is intended for server (terminal) use only so is restricted to a single locale (with en_US being the default) which allows for a smaller box size.

There are templates provided for CentOS-6.7, CentOS-6.8 and CentOS-6.9 with architectures i386 and x86_64. There is currently no requirement to support older minor release versions or alternative architectures but they could be added if necessary.

Usage Instructions

Prerequisites

The build environment required is Mac OSX or GNU Linux.

To build the box file you will need the following installed:

Build

To build the latest x86_64 base box run make or make build.

$ make

To build CentOS-6.7 for a 32 bit architecture.

$ BOX_ARCH=i386 BOX_MINOR_RELEASE=6.7 make

Box Variants

To build a box variant from an alternative box template use BOX_VARIANT. The default is minimal but there is now an alternative minimal-cloud-init template to build boxes that include Cloud-Init.

$ BOX_VARIANT=minimal-cloud-init BOX_MINOR_RELEASE=6.7 make

Local install

To install from a box file, generated by a successful build, run the following command which will add the box and output a minimal Vagrantfile template that can be used to create a Vagrantfile in a suitable directory for testing.

$ BOX_MINOR_RELEASE=6.7 make install
You can’t perform that action at this time.