HashiCorp Packer build configuration for Babelbox (Debian Installer Demo) VMs.
Find a file
2020-03-02 11:38:20 +01:00
http Fix Buster incompatibilities 2020-03-01 21:49:00 +01:00
http-qemu Add qemu builder 2020-03-01 22:54:32 +01:00
scripts Add qemu builder 2020-03-01 22:54:32 +01:00
.gitignore Add qemu builder 2020-03-01 22:54:32 +01:00
debian-babelbox.json Make the build work on Debian 10 2020-03-02 11:38:20 +01:00
README.md Add README with usage instructions 2020-03-01 23:05:47 +01:00

Babelbox Packer build

This repository provides build configuration and Debian installer preseed files for building Babelbox virtual machine images for QEMU/KVM and VirtualBox using HashiCorp Packer.

Building the VM images

The images need to be built in separate steps because VirtualBox and KVM cannot reserve the needed CPU extension (VT-x, AMD-V) at the same time.

packer build --only=qemu debian-babelbox.json
packer build --only=virtualbox-iso debian-babelbox.json

Preparing for Babelbox demo

Due to image size reasons we do not include a Debian DVD ISO image into the image. Therefore the VMs have to be booted into the regular OS (first Grub menu option). Login as user demo with password babelbox and download a Debian DVD ISO image into /srv/:

cd /srv
sudo wget https://cdimage.debian.org/debian-cd/10.3.0/amd64/iso-dvd/debian-10.3.0-amd64-DVD-1.iso

The version might be different but 10.3.0 has been used for my tests.