We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 222489d commit 84aa4b5Copy full SHA for 84aa4b5
files/build_templates/docker_image_ctl.j2
@@ -33,7 +33,7 @@ function updateSyslogConf()
33
# running on the namespace to reach the rsyslog service running on the host
34
# Also update the container name
35
if [[ ($NUM_ASIC -gt 1) ]]; then
36
- TARGET_IP=$(docker network inspect bridge --format='{{(index .IPAM.Config 0).Gateway}}')
+ TARGET_IP=$(docker network inspect bridge --format={{ "'{{(index .IPAM.Config 0).Gateway}}'" }})
37
CONTAINER_NAME="{{docker_container_name}}$DEV"
38
TMP_FILE="/tmp/rsyslog.$CONTAINER_NAME.conf"
39
0 commit comments