A collection of Packer templates
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.
config/alpine
credentials
http/alpine
scripts/alpine
.travis.yml
LICENSE
Makefile
README.md
alpine-ssh-bastion.json
alpine-ssh-bastion.md
alpine-ssh-bastion_datamode.json
alpine-ssh-bastion_datamode.md

README.md

packer-templates Build Status

A collection of Packer templates

Usage

Build and push every images

$ make

Build and push a specific image

$ packer build template.json

Configuration

You can configure each template to match your requirements by setting the following user variables.

User Variable Default Value Description
headless true Build without running the hypervisor's GUI
disk_size 10240 Hard disk size (in MB)
memory 512 Memory size (in MB)
cpus 1 The number of CPU cores
image_name n/a The name of the image that will be built/pushed
image_version n/a The version of the image that will be built/pushed
atlas_user olbat Atlas username
atlas_token $ATLAS_TOKEN Atlas credentials
bintray_user olbat Bintray username
bintray_api_key $BINTRAY_API_KEY Bintray credentials

Note: there may be other user variables depending on the template

Example: packer build --var headless=false template.json

Pre-built images

Important: in order to make this images testable, the default SSH credentials are versioned in this repository.
Always rebuild the images with your SSH credentials (see config/) before using them in a production environment.

Credits

Thanks to kaorimatz and maier for their awesome work that made bootstraping this repository/templates a lot easier.