heyer.systems Open Source

haypack Provisioner

Creates the guests planned in NetBox: a VM with the tag iac-managed and status Planned is created on the Proxmox node with ct.sh/vm.sh; status, Proxmox ID and MAC go back to NetBox. Later changes to CPU, RAM, disk and modules are applied to the guest, and a VM set to Decommissioning is deleted after 24 hours.

Install

On the Proxmox node as root:

bash -c "$(curl -fsSL https://iac.heyer.systems/provisioner/ct.sh)"

Container from the Debian 13 template · default: 1 CPU, 512 MiB RAM, 4 GiB disk

Customise the commandYour own values for CPU, RAM, network and modules – no dialog

Then: Webhook: http://<IP>:8686/webhook – setup: cat /etc/iac-provisioner/README

Settings per instance

SettingMeaning
netbox_urlNetBox URL – e.g. https://netbox.example.org
netbox_token secretNetBox API token – The token alone, without Bearer (v2: nbt_<key>.<token>) – write access to VMs, interfaces, MAC addresses, journal entries and custom field choice sets

When creating a container, as var_<setting>:

var_netbox_url="<value>" bash -c "$(curl -fsSL https://iac.heyer.systems/provisioner/ct.sh)"

Set or change later, in the guest: a line netbox_url=<value> in /etc/iac/settings.env – no quotes, the last line of a setting wins – then:

update

With NetBox: the same line netbox_url=<value> in the field Settings of the VM – it takes effect at the next update. Secrets stay in the guest.

Missing or empty = the app's default. Do not edit the configuration files iac writes – update overwrites them; their first lines name the file for local changes.

Update

In the guest:

update

Debian packages, haypack Provisioner, modules and the iac configuration. Major versions never change automatically.

Add modules – any time, in containers and VMs alike:

update --list-modules
update --add-modules node-exporter

All modules · More about update