Skip to content

Commit

Permalink
Enable module loading in gce image
Browse files Browse the repository at this point in the history
Change-Id: I98938115ead8131eff2b50b2c9247cb2f4254545
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/3626
Reviewed-by: Anish Swaminathan <[email protected]>
Tested-by: Anish Swaminathan <[email protected]>
  • Loading branch information
suezzelur committed Aug 24, 2017
1 parent 2791ac0 commit d8a5b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/cloud-image-builder/gce/gce-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ usermod -L root
echo "net.ipv6.conf.all.disable_ipv6 = 1" > /etc/sysctl.d/ipv6-disable.conf

# Disable loading/unloading of modules
echo "kernel.modules_disabled = 1" > /etc/sysctl.d/modules_disabled.conf
#echo "kernel.modules_disabled = 1" > /etc/sysctl.d/modules_disabled.conf

# Remove kernel symbols
rm -f /boot/System.map*
Expand Down

0 comments on commit d8a5b2c

Please sign in to comment.