EOX GitLab Instance

Readme.md 924 Bytes
Newer Older
1
2
# Packer

3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
These templates are heavily based on scripts & examples provided by Opscode as part of their [bento repository](https://github.com/opscode/bento).

## Installation

Please see http://www.packer.io/docs/installation.html for information on how to install packer.

Then clone this repository.

```bash
git clone git@gitlab.eox.at:vagrant/packer.git
cd packer
```

## Building a box

Simply call the following command, replacing *configuration.json* with the path to the actual json configuration file you want to build.

```bash
packer build configuration.json
```

The build base box can than be found in the *build* directory.
25
26
27
28
29
30
31
32
33

## Publish the base box

Copy the resulting box file to our download server:

```bash
scp build/vagrant/virtualbox/centos-6.4-x86_64.box downloads.eox.at:/var/www/downloads.eox.at/boxes/
```

34
The box will be available for download at http://downloads.eox.at/boxes/centos-6.4-x86_64.box