summaryrefslogtreecommitdiffstats
path: root/release/tools/ec2.conf
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2017-07-06 22:34:54 +0000
committercperciva <cperciva@FreeBSD.org>2017-07-06 22:34:54 +0000
commitb388b921ceb9441c448fcf729e97baf7987b79e1 (patch)
tree55f16a9a79d9611c0627f8422a85b256b9af18e2 /release/tools/ec2.conf
parent5964b8d169737b73fccad1ce2fe8cf0279cf621d (diff)
downloadFreeBSD-src-b388b921ceb9441c448fcf729e97baf7987b79e1.zip
FreeBSD-src-b388b921ceb9441c448fcf729e97baf7987b79e1.tar.gz
MFC r318894: Enable Amazon's "Elastic Network Adapter" in EC2 AMIs.
Diffstat (limited to 'release/tools/ec2.conf')
-rw-r--r--release/tools/ec2.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 4581788..4a7a1e8 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -78,6 +78,9 @@ vm_extra_pre_umount() {
# nodes, but apply the workaround just in case.
echo 'hw.broken_txfifo="1"' >> ${DESTDIR}/boot/loader.conf
+ # Load the kernel module for the Amazon "Elastic Network Adapter"
+ echo 'if_ena_load="YES"' >> ${DESTDIR}/boot/loader.conf
+
# The first time the AMI boots, the installed "first boot" scripts
# should be allowed to run:
# * ec2_configinit (download and process EC2 user-data)
OpenPOWER on IntegriCloud