Skip to content

This repository contains Packer templates for creating Ubuntu Server Vagrant boxes.

License

Notifications You must be signed in to change notification settings

ajxb/packer-ubuntu

Repository files navigation

Packer templates for Ubuntu Server

Overview

This repository contains Packer templates for creating Ubuntu 16.04 LTS (Xenial Xerus) Server Vagrant boxes.

Current 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 Ubuntu. 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 core_template.json packer template.

For example, to build Ubuntu 16.04, use the following:

$ packer build -var-file=ubuntu-1604.json core_template.json

Building the Vagrant boxes with the build script

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

$ ./bin/build.sh ubuntu-1604.json

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

This repository contains Packer templates for creating Ubuntu Server Vagrant boxes.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published