grep -xFq "$line" $f || tee -a $f <<<"$line"
-# default debian groups (jessie through buster) + adm, sudo
+# default debian groups (jessie through buster) + adm, sudo, root
for g in cdrom floppy audio dip video plugdev netdev adm sudo; do
if getent gropu $g >/dev/null; then
usermod -aG $g iank
else
speed=115200
cmdline="rd.luks.crypttab=no net.ifnames=0 console=ttyS0,${speed}n8 console=tty0"
+ case $HOSTNAME in
+ # per rubens suggestion to make a d16 more stable
+ kd|kw) cmdline+=" pci=realloc=off" ;;
+ esac
fi
cat >$FAI_ROOT/etc/grub.d/40_custom <<EOF