mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-18 21:27:54 +00:00
Symlink kernel modules and modprobe ip6_tables
Change-type: minor Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
parent
cff5965d5e
commit
93c24298ff
6
entry.sh
6
entry.sh
@ -46,4 +46,10 @@ if [ ! -z "${BALENA_ROOT_CA}" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Mount the host kernel module path onto the expected location
|
||||
# We need to do this as busybox doesn't support using a custom location
|
||||
ln -s /mnt/root/lib/modules /lib/modules
|
||||
# Now load the ip6_tables kernel module, so we can do filtering on ipv6 addresses
|
||||
modprobe ip6_tables
|
||||
|
||||
exec node /usr/src/app/dist/app.js
|
||||
|
Loading…
Reference in New Issue
Block a user