Fix kernel crash caused by absent root device
This commit is contained in:
committed by
Tuomas Tynkkynen
parent
e4777ae2d8
commit
08ebd830a5
@@ -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" ];
|
||||
|
||||
Reference in New Issue
Block a user