amazon-image: random.trust_cpu=on to cut 10s from boot

Ubuntu and other distros already have this set via kernel config.
This commit is contained in:
Graham Christensen 2020-10-30 13:16:19 -04:00
parent b52da4e641
commit c851030763
No known key found for this signature in database
GPG key ID: FE918C3A98C1030F

View file

@ -48,7 +48,7 @@ in
];
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
boot.initrd.availableKernelModules = [ "ixgbevf" "ena" "nvme" ];
boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ];
boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" "random.trust_cpu=on" ];
# Prevent the nouveau kernel module from being loaded, as it
# interferes with the nvidia/nvidia-uvm modules needed for CUDA.