Fix kernel crash caused by absent root device

This commit is contained in:
Ihor Antonov
2018-05-12 02:55:33 +03:00
committed by Tuomas Tynkkynen
parent e4777ae2d8
commit 08ebd830a5
4 changed files with 28 additions and 33 deletions
@@ -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" ];