0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

Fix kernel crash caused by absent root device

This commit is contained in:
Ihor Antonov 2018-05-09 10:15:16 -04:00 committed by Tuomas Tynkkynen
parent e4777ae2d8
commit 08ebd830a5
4 changed files with 28 additions and 33 deletions

View file

@ -8,7 +8,7 @@ in {
imports = [ ../../../modules/virtualisation/amazon-image.nix ];
# Required to avoid kernel panics on KVM instances where nvme volume availability can get delayed
# Required to provide good EBS experience,
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html#timeout-nvme-ebs-volumes
# TODO change value to 4294967295 when kernel is updated to 4.15 or later
config.boot.kernelParams = [ "nvme_core.io_timeout=255" ];