misc config changes
[automated-distro-installer] / fai / config / scripts / GRUB_PC / 11-iank
index 19be28420aca3a41741da740f6bd083db7af6e8b..863c9913ad81beeef1be8f965cd5be28bc588f33 100755 (executable)
@@ -125,7 +125,7 @@ f=/etc/ssh/sshd_config
 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
@@ -160,6 +160,10 @@ if [[ $FAI_ACTION != dirinstall ]] && ! ifclass NOCRYPT; then
   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