File tree Expand file tree Collapse file tree
bosh-stemcell/spec/support
stemcell_builder/stages/system_kernel_modules Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9595 its ( :content ) { should match "install algif_aead /bin/true" }
9696 end
9797 end
98+
99+ context "prevent esp4 module from being loaded" do
100+ describe file ( "/etc/modprobe.d/blacklist.conf" ) do
101+ its ( :content ) { should match "install esp4 /bin/true" }
102+ end
103+ end
104+
105+ context "prevent esp6 module from being loaded" do
106+ describe file ( "/etc/modprobe.d/blacklist.conf" ) do
107+ its ( :content ) { should match "install esp6 /bin/true" }
108+ end
109+ end
110+
111+ context "prevent rxrpc module from being loaded" do
112+ describe file ( "/etc/modprobe.d/blacklist.conf" ) do
113+ its ( :content ) { should match "install rxrpc /bin/true" }
114+ end
115+ end
98116end
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ install udf /bin/true
2121install rds /bin/true
2222install floppy /bin/true
2323install algif_aead /bin/true
24+ install esp4 /bin/true
25+ install esp6 /bin/true
26+ install rxrpc /bin/true
2427options ipv6 disable=1' >> $chroot /etc/modprobe.d/blacklist.conf
2528
2629echo ' # prevent nouveau from loading
You can’t perform that action at this time.
0 commit comments