diff options
author | Your Name <graham@grahamc.com> | 2021-08-20 11:20:30 -0400 |
---|---|---|
committer | Your Name <graham@grahamc.com> | 2021-08-20 11:22:39 -0400 |
commit | bfd2f800ee353a9f59360f56d647818eaef9f6b4 (patch) | |
tree | e6f07df9dbe7d4dd5b40f28de8338c0447b3cf84 | |
parent | 0ccd6448d62b93c07ab2bdea4246bc0285b67500 (diff) | |
download | nixpkgs-bfd2f800ee353a9f59360f56d647818eaef9f6b4.tar nixpkgs-bfd2f800ee353a9f59360f56d647818eaef9f6b4.tar.gz nixpkgs-bfd2f800ee353a9f59360f56d647818eaef9f6b4.tar.bz2 nixpkgs-bfd2f800ee353a9f59360f56d647818eaef9f6b4.tar.lz nixpkgs-bfd2f800ee353a9f59360f56d647818eaef9f6b4.tar.xz nixpkgs-bfd2f800ee353a9f59360f56d647818eaef9f6b4.tar.zst nixpkgs-bfd2f800ee353a9f59360f56d647818eaef9f6b4.zip |
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
-rw-r--r-- | nixos/modules/virtualisation/amazon-image.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix index ad105b96332..6bdc661d996 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; |