aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2021-03-05 08:25:33 +0000
committerTibor Frank <tifrank@cisco.com>2021-03-05 08:26:34 +0000
commit17f2061080fee651a5db4896ec108b03dec40d25 (patch)
treeb5b4786d26c29d8ad1ec7b45a1c925a96d5ce797
parent7f6092d0feab014dce6329be1918c03f1020dd3f (diff)
PAL: Temporary hack until all docker dns will be solved
Change-Id: I8011ae9d6abe5c3eedd7b1519db1fa6aceae5ada Signed-off-by: Tibor Frank <tifrank@cisco.com>
-rwxr-xr-xresources/tools/presentation/run_cpta.sh3
-rwxr-xr-xresources/tools/presentation/run_report.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/resources/tools/presentation/run_cpta.sh b/resources/tools/presentation/run_cpta.sh
index 1aa5703162..94745f7a6f 100755
--- a/resources/tools/presentation/run_cpta.sh
+++ b/resources/tools/presentation/run_cpta.sh
@@ -19,6 +19,9 @@ mkdir ${DIR[WORKING]}
virtualenv -p $(which python3) ${DIR[WORKING]}/env
source ${DIR[WORKING]}/env/bin/activate
+# FIXME: Temporary hack until all docker dns will be solved
+echo "nameserver 172.17.0.1" > /etc/resolv.conf
+
# Install python dependencies:
pip3 install -r requirements.txt
diff --git a/resources/tools/presentation/run_report.sh b/resources/tools/presentation/run_report.sh
index e36eee37c3..c28c03a49b 100755
--- a/resources/tools/presentation/run_report.sh
+++ b/resources/tools/presentation/run_report.sh
@@ -30,6 +30,9 @@ mkdir ${DIR[WORKING]}
virtualenv -p $(which python3) ${DIR[WORKING]}/env
source ${DIR[WORKING]}/env/bin/activate
+# FIXME: Temporary hack until all docker dns will be solved
+echo "nameserver 172.17.0.1" > /etc/resolv.conf
+
# Install python dependencies:
pip3 install -r requirements.txt