/packer-vagrant

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

Primary LanguageShell

Packer based templates to build boxes for vagrant

Images

Debian

Published under

Aspects

  • using 2 drives, one for the system, one for data ( check preseeds )
  • 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/debian9
    driver:
      box: eugenmayer/debian9
      box_version: "9.9"
  - name: eugenmayer/debian10
    driver:
      box: eugenmayer/debian10
      box_version: "10.1"

Build yourself

for example

# debian 10
make image_debian_vbox
make image_debian_qemu

# debian 9
make image_debian9_vbox
make image_debian9_qemu

You can then start the box locally without uploading it

make run_locally
vagrant ssh