Add packaging for vagrant box and cleanup step

This commit is contained in:
2025-11-01 23:31:43 -04:00
parent 4b49404a0c
commit b7d76be6ce
9 changed files with 108 additions and 23 deletions

View File

@@ -1,24 +1,34 @@
# Debian Trixie Builds
This directory contains Packer configuration for building Debian 13 (Trixie)
images
## Usage
### Overview
Build the image:
These builds use a multi-stage Packer workflow:
```
make
```
- The first stage creates a minimal base image from the installer ISO
- The second stage reuses that base image to produce a Vagrant-ready box
Remove build artifacts:
### Usage
```
make clean
```
Build the base qemu image:
Build with a visible VM console for debugging:
make base
```
make HEADLESS=false
```
Build vagrant image:
make vagrant
Package vagrant box:
make package
Build with visible console:
make base HEADLESS=false
### Publishing
Built boxes from this configuration are published at
[krislamo.org/debian13](https://portal.cloud.hashicorp.com/vagrant/discover/krislamo.org/debian13)
on Vagrant Cloud