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
- Host: GitHub
- URL: https://github.com/simbo/packer-trusty64
- Owner: simbo
- Created: 2015-10-10T09:49:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-30T11:38:43.000Z (about 10 years ago)
- Last Synced: 2025-01-21T09:09:19.103Z (over 1 year ago)
- Language: Shell
- Homepage: https://atlas.hashicorp.com/simbo/boxes/trusty64
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.