Blacklist the xen_fbfront kernel module

This gets rid of a 30 second delay during boot. See e.g
https://github.com/coreos/bugs/issues/208.
This commit is contained in:
Eelco Dolstra 2015-09-28 21:57:54 +02:00
parent e866840a12
commit cab1483a95

View file

@ -26,7 +26,9 @@ let cfg = config.ec2; in
# Prevent the nouveau kernel module from being loaded, as it # Prevent the nouveau kernel module from being loaded, as it
# interferes with the nvidia/nvidia-uvm modules needed for CUDA. # interferes with the nvidia/nvidia-uvm modules needed for CUDA.
boot.blacklistedKernelModules = [ "nouveau" ]; # Also blacklist xen_fbfront to prevent a 30 second delay during
# boot.
boot.blacklistedKernelModules = [ "nouveau" "xen_fbfront" ];
# Generate a GRUB menu. Amazon's pv-grub uses this to boot our kernel/initrd. # Generate a GRUB menu. Amazon's pv-grub uses this to boot our kernel/initrd.
boot.loader.grub.version = if cfg.hvm then 2 else 1; boot.loader.grub.version = if cfg.hvm then 2 else 1;