From 4245926e68e1343ce294057ca56f210659304488 Mon Sep 17 00:00:00 2001 From: Kaspars Skels Date: Thu, 23 Aug 2018 16:36:42 -0500 Subject: [PATCH] Fixes for pegleg.sh Update image reference to quay.io/airshipit vs quay.io/attcomdev. Set host networking for running pegleg container. Recent Ubuntu releases are using 127.0.0.53 in /etc/resolv.conf, and host networking mode is a way to work around local DNS. Change-Id: Ib3e39e6f83e0bb7a50f92f85b791c8d0b59664d1 --- tools/pegleg.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/pegleg.sh b/tools/pegleg.sh index f48e3160..f7eae955 100755 --- a/tools/pegleg.sh +++ b/tools/pegleg.sh @@ -3,7 +3,7 @@ set -e : ${WORKSPACE:=$(pwd)} -: ${IMAGE:=quay.io/attcomdev/pegleg:latest} +: ${IMAGE:=quay.io/airshipit/pegleg:latest} echo echo "== NOTE: Workspace $WORKSPACE is the execution directory in the container ==" @@ -14,7 +14,7 @@ echo container_workspace_path='/workspace' docker run --rm -t \ - --net=none \ + --net=host \ --workdir="$container_workspace_path" \ -v "${WORKSPACE}:$container_workspace_path" \ "${IMAGE}" \