Symlink kernel modules and modprobe ip6_tables

Change-type: minor
Signed-off-by: Cameron Diver <cameron@balena.io>
This commit is contained in:
Cameron Diver 2019-02-13 10:49:07 +00:00
parent cff5965d5e
commit 93c24298ff
No known key found for this signature in database
GPG Key ID: 49690ED87032539F

View File

@ -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