- create-lxc.sh prompts for WIRECON_NET / PEER_IP / CLIENT_IP / LAN_CIDR
(defaults 10.13.13.0/24, .1, .2, 192.168.1.0/24) and passes them through
to the in-container bootstrap
- install.sh generates a placeholder /etc/wireguard/wg0.conf from those
env vars instead of copying the static example, and updates PEER_IP in
wirecon.conf on first install
- install.sh always enables + starts wg-quick, watchdog, monitor and
(if WIRECON_WEB_AUTOSTART=yes, default yes) the web UI, even before
keys are filled in — wg-quick will fail until then, and the web UI
is the way to finish configuration
- apk installs busybox-extras and wirecon-web now runs /usr/sbin/httpd
(fixes "httpd: applet not found" on base busybox)
- create-lxc.sh drops its own web-UI start block (install.sh owns it)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The previous sed pattern required ^tty1::respawn: but Alpine's LXC
inittab has no id field — the line is ::respawn:/sbin/getty 38400 tty1.
Match any line containing "getty.*tty1$" instead, and pkill getty after
the reload so init respawns with the new command.
Access is now via the Proxmox web Console (or pct enter) — no SSH,
no keys, no passwords. /etc/inittab's tty1 line is rewritten to
`getty -n -l /usr/local/sbin/autologin-root` which execs `login -f root`,
dropping straight into a root shell when the Console button is clicked.
Always authorize the Proxmox host's root pubkey (generate an ed25519
pair if missing) so `ssh root@<lxc>` from the host works immediately.
Extra keys via SSH_PUBKEY (literal or path). Relies on Alpine's default
PermitRootLogin=prohibit-password — no sshd_config edits, no password
ever set; pct enter stays as fallback.
Accepts ROOT_PASSWORD from env or reads from /dev/tty (works under
curl|bash). When set, pipes it through `chpasswd` via stdin (secret
stays out of argv) and installs+enables openssh with PermitRootLogin
yes. Skipping leaves the prior no-password behavior intact so pct
enter remains the fallback.
- Replace systemd units with OpenRC init scripts (supervise-daemon)
- Add wirecon-watchdog-loop.sh since OpenRC has no timers
- Switch install.sh to apk + rc-update
- Update bootstrap.sh to install git/bash via apk
- New proxmox/create-lxc.sh: picks next VMID, downloads Alpine template,
creates unprivileged LXC with tun passthrough, chains bootstrap
- Rewrite README around the Proxmox one-liner flow