Proxmox
This page documents instructions related to running Alpine Linux with Proxmox Virtual Environment.
Using agetty in proxmox
Instructions given in TTY Autologin page does not work in Proxmox v8.3.2 host, as the host has a setup_init script for Alpine linux at /usr/share/perl5/PVE/LXC/Setup/Alpine.pm that overwrites all changes to tty lines in /etc/inittab.
Modify the script at /usr/share/perl5/PVE/LXC/Setup/Alpine.pm and add the following lines in setup_init so as not to modify the /etc/inittab file if it contains the word "agetty" as follows
Contents of /usr/share/perl5/PVE/LXC/Setup/Alpine.pm
After running the LXC container, Install the agetty package and modify this line in /etc/inittab file as follows
Contents of /etc/inittab
After a reboot the container will perform an autologin.