summaryrefslogtreecommitdiffstats
path: root/nixos
diff options
context:
space:
mode:
authorYour Name <graham@grahamc.com>2021-08-20 11:20:30 -0400
committerYour Name <graham@grahamc.com>2021-08-20 11:22:39 -0400
commitbfd2f800ee353a9f59360f56d647818eaef9f6b4 (patch)
treee6f07df9dbe7d4dd5b40f28de8338c0447b3cf84 /nixos
parent0ccd6448d62b93c07ab2bdea4246bc0285b67500 (diff)
NixOS AMI: Give grub a 1s timeout now that AWS has emergency console access.
See: * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking-os.html * https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/grub.html
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/virtualisation/amazon-image.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix
index ad105b96332e..6bdc661d9964 100644
--- a/nixos/modules/virtualisation/amazon-image.nix
+++ b/nixos/modules/virtualisation/amazon-image.nix
@@ -63,7 +63,7 @@ in
boot.loader.grub.extraPerEntryConfig = mkIf (!cfg.hvm) "root (hd0)";
boot.loader.grub.efiSupport = cfg.efi;
boot.loader.grub.efiInstallAsRemovable = cfg.efi;
- boot.loader.timeout = 0;
+ boot.loader.timeout = 1;
boot.initrd.network.enable = true;