Use
Prepare the Proxmox node WIP
One command checks the Proxmox node for what iac needs and fixes a few known pitfalls – APT repositories, the Debian template, provisioner access, Intel e1000e hangs.
Work in progress – planned, not available yet
This page describes how the feature is planned. It may still change; nothing on this page works in a guest yet.
What it does
pve.sh runs on the Proxmox node like the one-liners of the apps. Without arguments it only
checks and changes nothing; then it offers each deviation it can fix, one by one:
bash -c "$(curl -fsSL https://iac.heyer.systems/pve.sh)"
To fix named points without a dialog, e.g. on a freshly installed node:
bash -c "$(curl -fsSL https://iac.heyer.systems/pve.sh)" pve.sh apply repos nic
Running it again changes nothing – every point is checked first.
What it checks and fixes
| Point | Check | Fix (apply) |
|---|---|---|
repos | enterprise repositories of PVE and Ceph active without a subscription, no-subscription missing | disables the enterprise entries and adds pve-no-subscription; with a valid subscription nothing. Other repositories stay as they are |
template | Debian 13 template in the template storage | downloads it with pveam – the first ct.sh doesn’t have to |
provisioner | wrapper and key of iac-provisioner | installs both like node-setup.sh; the provisioner’s public key comes as an argument |
nic | network ports with the driver e1000e (Intel I217/I218/I219, common in small office PCs) and “Detected Hardware Unit Hang” in the journal | a udev rule that turns off TCP segmentation offloading (tso, gso) on these ports – the known cause of those hangs |
Only checked, never changed: storage for containers and disks, vmbr0 VLAN-aware, clock in sync,
HA services on a single node, pending updates, a reboot for a new kernel.
What it leaves alone
- network, storage and cluster configuration, the Proxmox firewall;
- updates and reboots of the node – it tells you when one is due;
- the “No valid subscription” notice – patching it changes files of Proxmox and breaks on updates.
Every file it writes starts with # managed by iac – do not edit and names the file for your own
changes; each run is logged in /var/log/iac/pve.log.