项目作者: alphagov

项目描述 :
Packer templates for building GOV.UK base boxes for Vagrant
高级语言: Shell
项目地址: git://github.com/alphagov/boxes.git
创建时间: 2012-08-06T09:49:17Z
项目社区:https://github.com/alphagov/boxes

开源协议:

下载


This repository is no longer maintained

The code here is no longer used or maintained.

At the time it was retired, in November 2014, this code was known to work. We
have retired this repo as its contents have been merged with an internal
repository in a bid to simplify the way that we create VM templates, such that
we can create VMware and Vagrant templates from the same configuration.

GOV.UK Vagrant base boxes

This repository contains Packer templates for building virtual machines for the GOV.UK environment.

Currently supports:

  • Ubuntu Precise LTS
  • Ubuntu Trusty LTS

On the following hypervisors:

  • VirtualBox
  • VMware Fusion

Install

  1. brew tap homebrew/binary
  2. brew install packer

Usage

  1. # Build all the boxes (currently Ubuntu Precise and Trusty for Virtualbox and VMWare Fusion)
  2. packer build template.json
  3. # Upload the box to GOV.UK's Amazon S3 bucket (assuming you've set up s3cmd)
  4. s3cmd sync --acl-public govuk_dev_precise64_$(date "+%Y%m%d").box 's3://gds-boxes/'