2026-01-19 14:46:36 +01:00
2026-01-19 14:46:36 +01:00
2026-01-20 13:17:55 +01:00
2026-01-19 14:46:36 +01:00
2026-01-19 14:46:36 +01:00
2026-01-20 13:17:55 +01:00
2026-01-19 14:46:36 +01:00

Build Vagrant box Debian 13 with virtualbox

Debian 13 Vagrant box builder (Packer) from the project Packer boxes from Jeff Geerling, author of Ansible for DevOps

Requirements

The following software must be installed/present on your local machine before you can use Packer to build any of these Vagrant boxes:

Usage

Make sure all the required software (listed above) is installed, then cd into one of the box directories and run:

packer build -var 'version=1.0.0' box-config.json

After a few minutes, Packer should tell you the box was generated successfully, and the box was uploaded to Vagrant Cloud.

Add your box to vagrant boxes:

vagrant box add trixie ./builds/virtualbox-debian13.box

Testing built boxes

There's an included Vagrantfile that allows quick testing of the built Vagrant boxes. From the same box directory, run the following command after building the box:

vagrant up

Test that the box works correctly, then tear it down with:

vagrant destroy -f

To do

  • build box for libvirtcd

License

MIT

Description
Project to create a Debain 13 vagrant box to use with virtualbox provider
Readme MIT 34 KiB
Languages
Shell 100%