mirror of
https://github.com/juliengk/csf-post-docker.git
synced 2023-10-10 13:37:41 +02:00
Remove the escaping slashes
This commit is contained in:
parent
fabdd8010b
commit
c75b0f1cf0
@ -62,7 +62,7 @@ if [ `echo ${containers} | wc -c` -gt "1" ]; then
|
||||
DOCKER_NET_INT=${DOCKER_INT}
|
||||
ipaddr=`docker inspect -f "{{.NetworkSettings.IPAddress}}" ${container}`
|
||||
else
|
||||
DOCKER_NET_INT="br-$(docker inspect -f \"{{.NetworkSettings.Networks.${netmode}.NetworkID}}\" ${container} | cut -c -12)"
|
||||
DOCKER_NET_INT="br-$(docker inspect -f "{{.NetworkSettings.Networks.${netmode}.NetworkID}}" ${container} | cut -c -12)"
|
||||
ipaddr=`docker inspect -f "{{.NetworkSettings.Networks.${netmode}.IPAddress}}" ${container}`
|
||||
|
||||
add_to_docker_isolation ${DOCKER_NET_INT} ${DOCKER_INT}
|
||||
|
Loading…
Reference in New Issue
Block a user