EugenMayer / packer-vagrant

Vagrant boxes build using packer for usage in chef test-kitchen or general purpose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Packer based templates to build boxes for vagrant

Images

Debian

Published under

Aspects

  • using 2 drives, one for the system, one for data ( check pre-seeds )
  • extra volume for /var/log to ensure we cannot run full due to logs
  • LVM with 2 vgs, one for each drive (system/data)

Usage as a platform would be

platforms:
  - name: eugenmayer/debian10
    driver:
      box: eugenmayer/debian10
      box_version: '10.10.0'
  - name: eugenmayer/debian11
    driver:
      box: eugenmayer/debian11
      box_version: '11.9.0'
  - name: eugenmayer/debian12
    driver:
      box: eugenmayer/debian12
      box_version: '12.4.0'

or

vagrant init eugenmayer/debian12

Build yourself

for example

# debian stable
make image_debian_vbox

# debian 11
make image_debian11_vbox

You can then start the box locally without uploading it

make run_locally
vagrant ssh

About

Vagrant boxes build using packer for usage in chef test-kitchen or general purpose


Languages

Language:Shell 80.2%Language:Makefile 19.8%