Quick-Start
Quick-Start
From the Proxmox host to a running service in five minutes – with modules and updates.
What you need
- A Proxmox VE host (version 8 or newer) with internet access and a root shell on it.
- Your SSH key in
/root/.ssh/authorized_keysof the host – haypack copies it into the guest. You can give another key in the dialog.
1. Pick an app and create it
Choose one in the catalog. Its page shows the one-liner, e.g. for Traefik as a container:
bash -c "$(curl -fsSL https://iac.heyer.systems/traefik/ct.sh)"
For a VM the script is called vm.sh instead of ct.sh. The dialog asks:
- default – the app’s default values (CPU, RAM, disk, DHCP, next free ID)
- advanced – choose everything yourself: ID, hostname, resources, network, VLAN, DNS, modules, SSH keys
2. Log in
Once it’s done, the script prints the IP address and how to get in:
Done: Traefik (LXC 105)
IP 192.168.40.20
SSH ssh root@192.168.40.20
Access Dashboard: http://192.168.40.20:8080/
Login is always root with your SSH key. If the network isn’t up, pct enter 105 on the host
still gets you into a container.
3. Add modules (optional)
Modules bolt backup, monitoring, a database and more onto any app – right away or later, in
containers and VMs alike. New guests come with auto-update (a nightly update) unless you
deselect it:
update -lm # what exists and what is active, numbered
update -am node-exporter # add – or by number: update -am 1,3
All modules: Modules.
4. Keep it up to date
update
That single command brings Debian, the app (to the version haypack tested), the modules and the haypack
configuration up to date. With auto-update it kicks off on its own at 02:00 each night. More:
Update.
What next?
- Without a dialog, e.g. for scripts: Install
- Plan guests in NetBox instead: NetBox provisioning
- What lives where in the guest and what you may change: The guest
- What haypack protects and what it trusts: Security
- Take over an existing installation: Adopt
Voraussetzungen
- Ein Proxmox-VE-Host ab Version 8 mit Internetzugang und einer root-Shell.
- Dein öffentlicher SSH-Schlüssel in
/root/.ssh/authorized_keysdes Hosts. haypack übernimmt ihn in den Gast; im Dialog kannst du einen anderen angeben.
1. App auswählen und erstellen
Wähle eine App im Katalog. Auf ihrer Seite steht der Installationsbefehl, beispielsweise für Traefik als Container:
bash -c "$(curl -fsSL https://iac.heyer.systems/traefik/ct.sh)"
Für eine VM heißt das Skript vm.sh statt ct.sh. Der Dialog bietet:
- default: Standardwerte der App für CPU, RAM, Datenträger, DHCP und die nächste freie ID.
- advanced: ID, Hostname, Ressourcen, Netzwerk, VLAN, DNS, Module und SSH-Schlüssel selbst festlegen.
2. Anmelden
Am Ende erscheinen IP-Adresse und Zugang:
Done: Traefik (LXC 105)
IP 192.168.40.20
SSH ssh root@192.168.40.20
Access Dashboard: http://192.168.40.20:8080/
Die Anmeldung erfolgt als root mit deinem SSH-Schlüssel. Ohne funktionierendes Netzwerk gelangst du auf dem Host mit pct enter 105 weiterhin in den Container.
3. Module hinzufügen – optional
Module ergänzen Apps um Backups, Monitoring, Datenbanken und weitere Funktionen – beim Erstellen oder später, in Containern und VMs. Neue Gäste enthalten auto-update, sofern du es nicht abwählst.
update -lm # Verfügbare und aktive Module mit Nummern
update -am node-exporter # Hinzufügen; alternativ nach Nummer: update -am 1,3
Die vollständige Auswahl steht im Modulkatalog.
4. Aktuell halten
update
Der Befehl aktualisiert Debian, die App auf die von haypack getestete Version, die Module und die haypack-Konfiguration. Mit auto-update geschieht das jede Nacht um 02:00 Uhr. Details: Aktualisieren.