Use
Install
Create a container or VM – with the dialog, without a dialog, or with Docker.
Container or VM?
| LXC container | VM | |
|---|---|---|
| Script | ct.sh | vm.sh |
| Based on | Proxmox’s Debian 13 template | a ready-built, tested image of the app |
| Installation | runs inside the container while it’s created | already in the image – the first boot only applies the instance settings |
| Resources | lightweight | own kernel, more RAM |
| Best for | most services | kernel features, Docker in the guest, desktop |
Either way the result is identical: packages, configuration and update don’t differ. Each app
page lists the platforms it offers.
Want NetBox to drive guest creation instead? See NetBox provisioning.
With the dialog
On the Proxmox host as root:
bash -c "$(curl -fsSL https://iac.heyer.systems/<app>/ct.sh)" # container
bash -c "$(curl -fsSL https://iac.heyer.systems/<app>/vm.sh)" # VM
default sticks to the app’s defaults, advanced asks about everything – including the
modules and where the SSH keys come from (file, URL like https://git.example/<user>.keys, paste).
Without a dialog
Set IAC_NONINTERACTIVE=1 and the app’s defaults apply, plus whatever var_* you pass:
IAC_NONINTERACTIVE=1 var_net=192.168.40.20/24 var_gateway=192.168.40.1 \
var_modules=node-exporter,unattended-upgrades \
bash -c "$(curl -fsSL https://iac.heyer.systems/traefik/ct.sh)"
No need to type this out: the generator on each app page builds the command for you. Here are all variables, grouped:
Guest
| Variable | Meaning | Default |
|---|---|---|
var_id | ID of the guest | next free |
var_hostname | hostname | name of the app |
var_start | start after creating (1 / 0) | 1 |
Resources and storage
| Variable | Meaning | Default |
|---|---|---|
var_cpu | CPU cores | app’s value |
var_ram | RAM in MiB (at least 512) | app’s value |
var_disk | disk in GiB | app’s value |
var_storage | Proxmox storage for the disk | first suitable |
var_template_storage | storage of the Debian template (LXC only) | first suitable |
var_usb | USB devices of the host as <vendor>:<product> like lsusb shows them, space-separated, e.g. 1cf1:0030 (Zigbee stick) – a VM gets USB passthrough, a container only serial devices (/dev/serial/by-id/…) | none |
Network
| Variable | Meaning | Default |
|---|---|---|
var_bridge | network bridge | vmbr0 |
var_vlan | VLAN tag | none |
var_net | dhcp or a static address like 192.168.40.20/24 | dhcp |
var_gateway | gateway for a static address | – |
var_nameserver | DNS servers | like the host |
var_searchdomain | search domain | like the host |
var_mac | MAC address of eth0, e.g. BC:24:11:12:34:56 | random |
Modules, access and app settings
| Variable | Meaning | Default |
|---|---|---|
var_modules | modules, comma-separated ('' = none) – replaces the preselection | the app’s preselection (incl. auto-update) |
var_media | Directory Mapping of the host mounted under /media – bind mount (LXC) or virtiofs (VM), selects the module media-share | none |
var_ssh_keys | file, URL or key line | /root/.ssh/authorized_keys of the host |
var_<setting> | settings of the app, e.g. var_db_host (LXC only so far) | – |
VM only
| Variable | Meaning | Default |
|---|---|---|
var_image_version | a specific image version | latest |
Result as JSON
Scripts can set IAC_RESULT=/path/result.json to get the outcome as JSON at the end:
| Field | Content |
|---|---|
status | ok or failed |
kind, app | lxc or vm, and the app |
id, hostname, node | the guest and the Proxmox node it runs on |
mac, ip | network addresses of the guest |
modules | the chosen modules |
guest_exists | whether the guest exists – it’s kept after a failure |
error | the reason on failure |
log | path to the log on the host |
core_ref, app_ref | the versions of iac-core and the app that were used |
core_commit | the commit of iac-core that is installed (update --check compares it with the current one) |
VM images
VM images are built automatically, booted and checked in a test VM, and published only after
that – whenever the app changes, and each Monday with fresh Debian packages.
vm.sh downloads it with a SHA256 checksum and verifies it before the import. The disk grows
to the chosen size when the guest is created.
Prefer to fetch an image by hand? It’s at https://iac.heyer.systems/<app>/image/latest, with
…/image/SHA256SUMS next to it.
Docker
Apps with a Docker variant come with a simple docker-compose.yml:
mkdir -p /opt/traefik && cd /opt/traefik
curl -fsSL https://iac.heyer.systems/traefik/docker-compose.yml -o docker-compose.yml
docker compose up -d
Ports and settings go into a .env next to it (e.g. PORT_80=8081). Modules and update are LXC
and VM features; Docker has neither.
Test a branch
IAC_APP_REF=<branch> IAC_CORE_REF=<branch> bash -c "$(curl -fsSL https://iac.heyer.systems/<app>/ct.sh)"
IAC_APP_REF selects the state of the app, IAC_CORE_REF does the same for iac-core.