to connectivity issues.
They often happens in the gate.
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I8b1bfe31b22abccc2402ea24f2621f145617a987
#complete source code can be found at https://gitlab.com/Orange-OpenSource/lfn/odl/honeynode-simulator.git
echo "Installing honeynode for $VERSION devices to $INSTALL_DIR directory "
- curl -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE
+ curl --retry-delay 10 --retry 3 -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE
unzip -q $ARTIFACT_ZIPFILE -d $TARGET_DIR
rm -f $ARTIFACT_ZIPFILE