amazon-image.nix: Add the ena driver
This is necessary for Enhanced Networking on x1.* instances.
This commit is contained in:
parent
8710672225
commit
56badfee94
@ -20,8 +20,12 @@ let cfg = config.ec2; in
|
|||||||
autoResize = true;
|
autoResize = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.extraModulePackages = [ config.boot.kernelPackages.ixgbevf ];
|
boot.extraModulePackages =
|
||||||
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" "ixgbevf" ];
|
[ config.boot.kernelPackages.ixgbevf
|
||||||
|
config.boot.kernelPackages.ena
|
||||||
|
];
|
||||||
|
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
|
||||||
|
boot.initrd.availableKernelModules = [ "ixgbevf" "ena" ];
|
||||||
boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ];
|
boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ];
|
||||||
|
|
||||||
# Prevent the nouveau kernel module from being loaded, as it
|
# Prevent the nouveau kernel module from being loaded, as it
|
||||||
|
Loading…
Reference in New Issue
Block a user