File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1- #! /.runcvm/guest/bin/bash
1+ #! /.runcvm/guest/bin/bash -e
22
33# Load original environment
44. /.runcvm/config
@@ -49,7 +49,7 @@ IF=$(ls /sys/class/net/ | grep -vE '^(lo|docker)' | head -n 1)
4949for i in all $IF
5050do
5151 # /sbin/sysctl -q -w -e net.ipv6.conf.$i.disable_ipv6=1 net.ipv6.conf.$i.autoconf=0 net.ipv6.conf.$i.accept_ra=0
52- sysctl -q -w -e net.ipv6.conf.$i .disable_ipv6=1 net.ipv6.conf.$i .autoconf=0
52+ sysctl -q -w -e net.ipv6.conf.$i .disable_ipv6=1 net.ipv6.conf.$i .autoconf=0 || true
5353done
5454
5555# Bring up local interface
9393while read -r DOCKER_RT_NET DOCKER_RT_GW DOCKER_RT_DEV DOCKER_RT_PREFSRC
9494do
9595 [ -n " $DOCKER_RT_NET " ] && [ -n " $DOCKER_RT_GW " ] && [ -n " $DOCKER_RT_DEV " ] && \
96- ip route add " $DOCKER_RT_NET " via " $DOCKER_RT_GW " dev " $DOCKER_RT_DEV "
96+ ip route add " $DOCKER_RT_NET " via " $DOCKER_RT_GW " dev " $DOCKER_RT_DEV " || true
9797done < /.runcvm/network/routes
9898
9999# TODO
You can’t perform that action at this time.
0 commit comments