Skip to content

Commit

Permalink
Update grub-ec2.cfg
Browse files Browse the repository at this point in the history
updating the grub config to use the nvme defaults required by aws. Should solve the failure to pass status checks. (eventually)
This only works on kernel version above 4.15. (core timeout max is 255 for below 4.15)

coreos/bugs#2464
coreos/bugs#2484
coreos/bugs#2371
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html#timeout-nvme-ebs-volumes
  • Loading branch information
Alalk authored Aug 10, 2018
1 parent 992b5ed commit 4e41a09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coreos-base/oem-ec2-compat/files/grub-ec2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set oem_id="ec2"

# Blacklist the Xen framebuffer module so it doesn't get loaded at boot
# Disable `ens3` style names, so eth0 is used for both ixgbevf or xen.
set linux_append="modprobe.blacklist=xen_fbfront net.ifnames=0"
set linux_append="modprobe.blacklist=xen_fbfront net.ifnames=0 nvme_core.io_timeout=255 nvme_core.max_retries=10"

if [ "$grub_platform" = pc ]; then
set linux_console="console=ttyS0,115200n8"
set linux_append="console=ttyS0,115200n8"
serial com0 --speed=115200 --word=8 --parity=no
terminal_input serial_com0
terminal_output serial_com0
Expand Down

0 comments on commit 4e41a09

Please sign in to comment.