Add packaging for vagrant box and cleanup step
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user