fix tinc call

This commit is contained in:
Frieder Schlesier 2018-06-15 18:24:49 +02:00
parent ef9940c1ee
commit f00e227fd8
1 changed files with 2 additions and 1 deletions

View File

@ -580,7 +580,8 @@ tinc() {
echo " running ${container_name} in net ${NET_NAME}" echo " running ${container_name} in net ${NET_NAME}"
docker run -d \ docker run -d \
--restart always \ --restart always \
--name= \ --name=${container_name} \
--net=host \
--device=/dev/net/tun \ --device=/dev/net/tun \
--cap-add NET_ADMIN \ --cap-add NET_ADMIN \
--volume ${tinc_dir}:/etc/tinc \ --volume ${tinc_dir}:/etc/tinc \