aboutsummaryrefslogtreecommitdiff
path: root/release/tools/ec2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/tools/ec2.conf')
-rw-r--r--release/tools/ec2.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 98bb6694ac77..147ee17a3609 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -98,6 +98,10 @@ vm_extra_pre_umount() {
# Load the kernel module for the Amazon "Elastic Network Adapter"
echo 'if_ena_load="YES"' >> ${DESTDIR}/boot/loader.conf
+ # Use the "nda" driver for accessing NVMe disks rather than the
+ # historical "nvd" driver.
+ echo 'hw.nvme.use_nvd="0"' >> ${DESTDIR}/boot/loader.conf
+
# Disable ChallengeResponseAuthentication according to EC2
# requirements.
sed -i '' -e \