Refine LXC container bootstrap and sysvinit autologin handling. - Fix case branch formatting and change Debian-family check to an elif to avoid logic fall-through. - Add a non-apt branch for Fedora/Rocky/Alma/CentOS/openEuler/openSUSE/Arch/Gentoo that sets the container timezone from the host and ensures curl is installed via the appropriate package manager. - Improve sysvinit (/etc/inittab) auto-login changes: use more robust sed patterns, append a console autologin entry via heredoc, signal init to reload inittab before killing getty processes, and target getty processes more precisely to ensure proper respawn with new settings.
238 KiB
238 KiB