Skip to content

Commit 120a43d

Browse files
authored
Merge pull request #586 from cloudfoundry/refactor-module
Refactor module loading
2 parents 0e757f6 + 4f32a25 commit 120a43d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

bosh-stemcell/spec/support/os_image_linux_kernel_modules_shared_examples.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,10 @@
8989
its(:content) { should match "install floppy /bin/true" }
9090
end
9191
end
92+
93+
context "prevent algif_aead module from being loaded" do
94+
describe file("/etc/modprobe.d/blacklist.conf") do
95+
its(:content) { should match "install algif_aead /bin/true" }
96+
end
97+
end
9298
end

stemcell_builder/stages/system_kernel_modules/apply.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ install squashfs /bin/true
2020
install udf /bin/true
2121
install rds /bin/true
2222
install floppy /bin/true
23+
install algif_aead /bin/true
2324
options ipv6 disable=1' >> $chroot/etc/modprobe.d/blacklist.conf
2425

2526
echo '# prevent nouveau from loading

0 commit comments

Comments
 (0)