Disabled agetty prints on first boot

This commit is contained in:
Logan G 2020-10-10 22:27:55 -06:00
parent 151acc6d00
commit d266866ae9
Signed by: logan
GPG key ID: E328528C921E7A7A

View file

@ -12,7 +12,7 @@ mkdir -p ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/
cat > ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/override.conf << 'EOF' cat > ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/override.conf << 'EOF'
[Service] [Service]
ExecStart= ExecStart=
ExecStart=-/usr/sbin/agetty --autologin root --noclear %I $TERM ExecStart=-/usr/sbin/agetty --skip-login --nonewline --noissue --autologin root --noclear %I $TERM
EOF EOF
on_chroot << EOF on_chroot << EOF