gns3-registry/packer/alpine-linux/scripts/cli.sh

6 lines
185 B
Bash
Raw Normal View History

2020-08-03 10:27:15 +00:00
# use serial console
sed -i 's/\(APPEND .*\)/\1 console=ttyS0/' /boot/extlinux.conf
# autologin on serial console
sed -i 's/^ttyS0.*/ttyS0::respawn:\/bin\/login -f root/' /etc/inittab