Skip to content

ajxb/packer-centos

 
 

Repository files navigation

Packer templates for CentOS

Overview

This repository contains Packer templates for creating CentOS Vagrant boxes.

Current Boxes

64-bit boxes:

Building the Vagrant boxes with Packer

To build all the boxes, you will need VirtualBox

We make use of JSON files containing user variables to build specific versions of CentOS. You tell packer to use a specific user variable file via the -var-file= command line option. This will override the default options on the core centos.json packer template.

For example, to build CentOS 7, use the following:

$ packer build -var-file=centos7.json centos.json

Building the Vagrant boxes with the build script

We've also provided a wrapper script build.sh for ease of use, so alternatively, you can use the following to build CentOS 7 for all providers:

$ build.sh centos7

Contributing

  1. Fork and clone the repo.
  2. Create a new branch, please don't work in your master branch directly.
  3. Fix stuff.
  4. Update README.md and AUTHORS to reflect any changes.
  5. If you have a large change in mind, it is still preferred that you split them into small commits. Good commit messages are important. The git documentation project has some nice guidelines on writing descriptive commit messages.
  6. Push to your fork and submit a pull request.

Acknowledgments

Boxcutter for their work in providing the code on which this is based.

About

Virtual machine templates for CentOS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%