summaryrefslogtreecommitdiff
path: root/README.md
blob: 246a53c743b012cc4e37828ecaf3a16bc09eacdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
About
=====

We're now using packer to build base boxes to get started, this repository is
only for historical reasons, check out
[packer_vagrant](https://leap.se/git/packer_vagrant.git) instead.

This repository contains Debian vagrant basebox definitions to get started with
[LEAP](https://leap.se).

That means a base Wheezy installation, with puppet, ruby, virtualbox guest
additions… Still kept as minimal as possible.

The installer used is the latest version of the installer and after the system
has been installed, the packages have been updated to the latest version at the
time the system was built.

Download pre-built baseboxes
============================

Hashicorp's Atlas makes both hosting and versioining of baseboxes straightforward. You can find the ones we build from these definitions at [LEAP's account:](https://atlas.hashicorp.com/LEAP). Wheezy is what we focus on now, Jessie needs some work. You'll find there baseboxes for Virtualbox and KVM (libvirt). Signed checksums are at (https://downloads.leap.se/platform/).

Build basebox yourself
======================

If you want to build a box yourself, you first need to install
[veewee](https://github.com/jedi4ever/veewee) and it's
dependencies.

Building should be straightforward using our pre-defined leap-wheezy
definitions:

Debian wheezy amd64
-------------------

    veewee <provider> build  wheezy
    veewee <provider> export wheezy

To use it in Vagrant, use

    vagrant box add LEAP/wheezy /home/varac/dev/projects/leap/git/leap_vagrant/wheezy.box


Debian Jessie amd64
-------------------

    veewee <provider> build  jessie
    veewee <provider> export jessie

To use it in Vagrant, use

    vagrant box add LEAP/jessie /home/varac/dev/projects/leap/git/leap_vagrant/jessie.box

Check out veewees documentation for all the options.

Issues
======

* Libvirt images (KVM) are a lot larger as the Virtualbox ones (up to 1,5GB)
  see https://github.com/jedi4ever/veewee/issues/929