Disable buildd console output on ttyS0

ubuntu/xenial
Cody Shepherd 4 years ago
parent 515bc1430b
commit 4a9592601d
No known key found for this signature in database
GPG Key ID: 0DB7E5F05C3FAB5F

@ -49,12 +49,6 @@ env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \
ifupdown initramfs-tools locales lsb-release \ ifupdown initramfs-tools locales lsb-release \
openssh-server resolvconf sudo snapd udev openssh-server resolvconf sudo snapd udev
# Enable console output
cat >> $mount_d/etc/default/grub.d/50-buildd-settings.cfg << EOF
${IMAGE_STR}
GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
EOF
# Install a kernel # Install a kernel
divert_grub "$mount_d" divert_grub "$mount_d"
env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \ env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \

Loading…
Cancel
Save