Quick-Start
Prepare the Proxmox node WIP
One command checks the Proxmox node for what haypack 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.
Aufgabe
pve.sh läuft wie die App-Einzeiler auf dem Proxmox-Knoten. Ohne Argumente prüft es nur und ändert nichts. Anschließend bietet es behebbare Abweichungen einzeln zur Korrektur an:
bash -c "$(curl -fsSL https://iac.heyer.systems/pve.sh)"
Benannte Punkte ohne Dialog korrigieren:
bash -c "$(curl -fsSL https://iac.heyer.systems/pve.sh)" pve.sh apply repos nic
Jeder Punkt wird zuerst geprüft. Wiederholte Ausführung verändert bereits korrekte Einstellungen nicht.
Prüfungen und Korrekturen
| Punkt | Prüfung | Korrektur mit apply |
|---|---|---|
repos | PVE-/Ceph-Enterprise-Quellen ohne Abonnement aktiv; No-Subscription fehlt | Enterprise-Einträge deaktivieren und pve-no-subscription ergänzen. Bei gültigem Abonnement keine Änderung; andere Quellen unverändert |
template | Debian-13-Vorlage im Template-Storage | Mit pveam herunterladen, damit ct.sh das nicht beim ersten Start tun muss |
provisioner | Wrapper und Schlüssel von iac-provisioner | Wie node-setup.sh installieren; öffentlichen Provisioner-Schlüssel als Argument übergeben |
nic | e1000e-Ports, etwa Intel I217/I218/I219, und „Detected Hardware Unit Hang“ im Journal | udev-Regel zum Abschalten von TCP-Segmentation-Offloading (tso, gso) auf diesen Ports |
Nur geprüft, nicht geändert: Speicher für Container und Datenträger, VLAN-Unterstützung von vmbr0, Zeitsynchronisation, HA auf Einzelknoten, ausstehende Updates und nötiger Kernel-Neustart.
Unverändert bleiben
- Netzwerk-, Storage- und Clusterkonfiguration sowie Proxmox-Firewall.
- Updates und Neustarts des Knotens; nötige Maßnahmen werden gemeldet.
- Die Meldung „No valid subscription“. Ein Patch würde Proxmox-Dateien verändern und bei Updates brechen.
Verwaltete Dateien beginnen mit # managed by iac – do not edit und nennen den Ort für eigene Änderungen. Logs: /var/log/iac/pve.log.