Disable getty allocations

This commit is contained in:
Mike Crute 2017-12-26 04:07:38 +00:00
parent 31163ccb52
commit 6dbdc23272
1 changed files with 5 additions and 0 deletions

View File

@ -151,6 +151,11 @@ install_core_packages() {
tzdata
chroot "$target" apk --no-cache add --no-scripts syslinux
# Disable starting getty for physical ttys because they're all inaccessible
# anyhow. With this configuration boot messages will still display in the
# EC2 console.
sed -Ei '/^tty\d/s/^/#/' /etc/inittab
}
create_initfs() {