Commit Graph

1 Commits (main)

Author SHA1 Message Date
Amir Alexander Abdelbaki b4ae7ae4ce feat(tools): add proxmox-lxc-gen.sh — TUI wizard for LXC containers
Interactive dialog-based wizard that walks through every relevant
Proxmox LXC parameter and emits three files:

  pct-create-<vmid>.sh    — runnable pct create command
  lxc-<vmid>.conf         — drop-in /etc/pve/lxc/ config
  deploy-guide-<vmid>.txt — step-by-step deployment notes

TUI screens (dialog, cyan theme):
  1. Identity      — VMID, hostname, description, tags
  2. OS/template   — distro menu (debian/ubuntu/alpine/arch/fedora/
                     rocky/centos/void/custom); pveam pattern resolved
                     at deploy time so the latest version is always used
  3. Resources     — memory, swap, cores, disk size, rootfs storage pool
  4. Network       — DHCP or static (IP/CIDR + gateway + DNS + search
                     domain); bridge, VLAN tag, firewall flag
  5. Security      — unprivileged/privileged; feature checklist
                     (nesting, fuse, keyctl, mounts, apparmor unconfined,
                     cgroup:rw, seccomp disable)
  6. Options       — root password (passwordbox, hidden); SSH pubkey
                     file; start-on-boot; auto-start; TTY count
  7. Proxmox host  — optional SSH target for direct provisioning;
                     template storage; output directory; node name
  8. Summary       — scrollable review before generating

If a Proxmox host is provided, the script SCPs the create script and
runs it over SSH. Matches DIALOGRC theme style of freeipa-image.sh
(cyan accent instead of magenta to visually distinguish).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 18:55:59 +02:00