An open API service indexing awesome lists of open source software.

https://github.com/simbo/packer-trusty64

packer template for simbo/trusty64
https://github.com/simbo/packer-trusty64

Last synced: over 1 year ago
JSON representation

packer template for simbo/trusty64

Awesome Lists containing this project

README

          

packer-trusty64
===============

> Packer template for [simbo/trusty-64](https://atlas.hashicorp.com/simbo/boxes/trusty64).

---

- [About](#about)
- [Box Info](#box-info)
- [Building locally](#building-locally)
- [Releasing](#releasing)

---

## About

This is a [packer](https://packer.io/) template for the vagrant box
[simbo/trusty64](https://atlas.hashicorp.com/simbo/boxes/trusty64).

### Box Info

Usage: `vagrant init simbo/trusty64`

Available providers: `virtualbox` (~ 384 MB)

**Ubuntu *“Trusty Tahr”* 14.04.4 LTS Server amd64**

Using english locales by default and supporting german locales. Set up with
german keyboard config, german apt-sources and using Europe/Berlin as default
timezone.

Default vagrant config with vagrant insecure key and passwordless sudo.

Installed software:
- **git** (via ppa:git-core/ppa)
- **zsh** as default shell with **oh-my-zsh** and **zsh-git-prompt**
- **node.js** v6.0.0 (via **nvm**) with **npm** v3.8.8
- **VirtualBox Guest Additions** v4.3.0
- **openssh-server**
- **build-essential**
- **dkms**
- **nfs-common**
- **curl**
- **vim**
- **mc**
- **htop**
- **iotop**
- **iftop**
- **tree**

## Building locally

Requirements:
[packer](https://packer.io/),
[vagrant](https://www.vagrantup.com/),
[VirtualBox](https://www.virtualbox.org/)

Temporarily remove the `atlas` post-processor section from the template to
avoid publishing when building and testing locally. (Still waiting for a cli
flag to [disable a post-processor](https://github.com/mitchellh/packer/issues/2679)…)

You can place a distribution image for installation at `iso/trusty64.iso`.

``` sh
# inpect template properties
packer inspect trusty64.json

# validate template
packer validate trusty64.json

# build template
packer build [-force] [-debug] trusty64.json

# test vagrant box
vagrant box add build/trusty64.box
vagrant init
vagrant up

# remove/cleanup vagrant test
vagrant halt
vagrant destroy
vagrant box remove
rm -rf .vagrant Vagrantfile

# remove built and temporary files
rm -rf build output-* packer_cache
```

## Releasing

The master branch of this repo is automatically tested by travis-ci using packer
validation test. Tagged commits are pushed to atlas where successful builds are
published.