run: Fail gracefully when IPv6 fails
* Fail gracefully but complain in the log when --privileged isn't used for docker run. * IPv6 is in development for the time being. * Closes #56
This commit is contained in:
parent
149cd3a3a3
commit
2508abd5ad
@ -52,8 +52,8 @@ if [ $? = 0 ]; then
|
||||
# If this fails, ensure the docker container is run with --privileged
|
||||
# Could be side stepped with `ip netns` madness to drop privileged flag
|
||||
|
||||
sysctl net.ipv6.conf.default.forwarding=1
|
||||
sysctl net.ipv6.conf.all.forwarding=1
|
||||
sysctl net.ipv6.conf.default.forwarding=1 || echo "Failed to enable IPv6 Forwarding default"
|
||||
sysctl net.ipv6.conf.all.forwarding=1 || echo "Failed to enable IPv6 Forwarding"
|
||||
fi
|
||||
|
||||
if [ "$#" -gt 0 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user