set -o nounset
set -o errexit
+if [[ "$GERRIT_PROJECT" == "infra/installer/kolla" ]]; then
+ echo "Info : Artifact download is not enabled for $GERRIT_PROJECT repository"
+ exit 0
+fi
+
if [[ "$EXECUTION_MODE" == "offline-deployment" ]]; then
# ensure we delete leftovers due to lack of disk space
sudo /bin/rm -rf /tmp/$ARTIFACT_TO_DOWNLOAD ~/.ara \
$NORDIX_ARM_PUBLIC_IP artifactory.nordix.org
# managed by engine
EOF"
+
+ # we need to get rid of search domain as well
+ sudo sed -i 's/^search/# search/' /etc/resolv.conf
+
echo "Info : Downloading artifact from Nordix ARM..."
echo " $NORDIX_ARTIFACT_URL/$ARTIFACT_TO_DOWNLOAD"
cd /tmp