# netbox-packer v0.0.2

v0.0.2 — NetBox Packer Plugin

| Field |Value |
| --- | --- |
| Canonical URL | https://emersonfelipesp.com/netbox-packer/releases/v0.0.2 |
| GitHub URL | https://github.com/emersonfelipesp/netbox-packer/releases/tag/v0.0.2 |
| Tag | v0.0.2 |
| State | stable |
| Author | emersonfelipesp |
| Created | 2026-05-18 15:16 UTC |
| Published | 2026-05-18 15:27 UTC |
| Target | main |
| Synced | 2026-05-21 07:21 UTC |
| Assets | 0 |

## Release notes

## v0.0.2 — Full plugin implementation

This release delivers the complete `netbox-packer` plugin for managing HashiCorp Packer VM template builds and catalog inside NetBox.

### Models
- **PackerTemplate** — catalog entry for a Packer-managed VM template with HCP Packer Registry sync, staleness tracking, and installer config linkage
- **PackerBuild** — individual build run record with incremental log streaming and status lifecycle
- **PackerInstallerConfig** — versioned OS installer configs (autoinstall/kickstart/preseed) with auto-SHA256 checksum
- **PackerBuildTarget** — multi-cluster node dispatch targets with priority ordering and capacity limits

### Features
- REST API with `/build/`, `/cancel/`, `/validate-node/` actions
- GraphQL schema for all four models
- RQ background jobs: `PackerBuildJob` and `PackerStalenessCheckJob`
- `NodeAffinityValidator` — checks node existence, CPU type, and storage pool against Proxmox before building
- HCP Packer Registry sync (`PackerHCPSyncJob`) — idempotent iteration-based sync
- VM-to-template lineage via `source_packer_template` custom field on VirtualMachine
- Management commands: `check_packer_staleness`, `import_installer_config`
- Navigation, search, and template extension (Derived VMs tab)

### CI
- Lint (ruff check + ruff format), static tests (pytest, no Django needed), and NetBox v4.6.0 source integration tests

## Assets

No binary assets attached.

Source archives:

| Format |URL |
| --- | --- |
| zip | https://api.github.com/repos/emersonfelipesp/netbox-packer/zipball/v0.0.2 |
| tar.gz | https://api.github.com/repos/emersonfelipesp/netbox-packer/tarball/v0.0.2 |