# luks options, see man systemd-cryptsetup-generator
# all i know is that with luks.crypttab=no, swap still timed out on boot.
# and with rd.luks.crypttab=no, it works.
- cmdline="rd.luks.crypttab=no console=ttyS0 net.ifnames=0"
if ifclass LINODE; then
speed=19200
- cmdline+=",${speed}n8"
- cmdline="rd.luks.crypttab=no console=ttyS0,${speed}n8"
+ cmdline="rd.luks.crypttab=no net.ifnames=0 console=ttyS0,${speed}n8"
else
speed=115200
- cmdline+=",${speed}n8 console=tty0"
+ cmdline="rd.luks.crypttab=no net.ifnames=0 console=ttyS0,${speed}n8 console=tty0"
fi
cat >$FAI_ROOT/etc/grub.d/40_custom <<EOF