if [[ $FAI_ACTION != dirinstall ]]; then
+
+ cat >$FAI_ROOT/etc/grub.d/40_custom <<'EOF'
+# https://www.coreboot.org/Serial_console
+# but removed unneeded stuff
+
+serial --speed=115200
+terminal_input --append serial
+terminal_output --append serial
+EOF
+
chroot $FAI_ROOT bash <<'EOF'
# https://askubuntu.com/questions/33416/how-do-i-disable-the-boot-splash-screen-and-only-show-kernel-and-boot-text-inst
# it suggests not having plymouth-theme-ubuntu-text, but