Merge pull request #102175 from grahamc/ami-random
amazon-image: random.trust_cpu=on to cut 10s from boot
This commit is contained in:
commit
860a3a23c6
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ in
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
|
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
|
||||||
boot.initrd.availableKernelModules = [ "ixgbevf" "ena" "nvme" ];
|
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
|
# Prevent the nouveau kernel module from being loaded, as it
|
||||||
# interferes with the nvidia/nvidia-uvm modules needed for CUDA.
|
# interferes with the nvidia/nvidia-uvm modules needed for CUDA.
|
||||||
|
|
Loading…
Reference in a new issue