Port the working autologin block from openbao/install.sh so both Proxmox installers behave identically. The previous version assumed agetty was already installed and relied on a sed pattern that no-ops on fresh Alpine images; it also never told PID 1 to re-read /etc/inittab, so the change required a reboot. - Install agetty (with util-linux fallback) via apk. - Drop any existing tty1 line and append the autologin line (robust against inittab layout drift across Alpine releases). - SIGHUP PID 1 and kill any stale getty so init respawns the new line immediately — no reboot needed, no first-login "type exit once" wart.
9.7 KiB
9.7 KiB