File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
modules/user_data/templates Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,11 @@ Resources:
9999 echo "agentless-scanning-${AWS::Region}" > /etc/hostname
100100 DD_API_KEY="${DatadogAPIKey}"
101101
102+ # Enable the nbd module
103+ modprobe nbd nbds_max=128
104+ echo "nbd" > /etc/modules-load.d/nbd.conf
105+ echo "options nbd nbds_max=128" > /etc/modprobe.d/nbd.conf
106+
102107 # Install requirements
103108 apt update
104109 apt install -y nbd-client
Original file line number Diff line number Diff line change 44set -e
55set -o pipefail
66
7+ # Enable the nbd module
8+ modprobe nbd nbds_max=128
9+ echo " nbd" > /etc/modules-load.d/nbd.conf
10+ echo " options nbd nbds_max=128" > /etc/modprobe.d/nbd.conf
11+
12+ # Install requirements
713apt update
814apt install -y nbd-client
915
You can’t perform that action at this time.
0 commit comments