docker: remove sysctl for net.ipv6.conf.all.disable_ipv6 from .profile
net.ipv6.conf.all.disable_ipv6 cannot be changed by a login
shell. Passing --sysctl option to docker run does so.
@@ -123,8 +123,5 @@ ENV PATH="${HOME}/renode:${PATH}"
# Working directory
WORKDIR ${CONTIKI_NG}
-# Enable IPv6 -- must be done at runtime, hence added to .profile
-RUN echo "sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 > /dev/null" >> ${HOME}/.profile
-
# Start a bash
CMD bash --login
