Merge "retry apt operations to avoid network issues"

This commit is contained in:
Jenkins
2014-06-24 17:53:55 +00:00
committed by Gerrit Code Review

View File

@@ -211,6 +211,11 @@ sudo mv $TEMPFILE /etc/sudoers.d/50_stack_sh
# Additional repos
# ----------------
# For debian/ubuntu make apt attempt to retry network ops on it's own
if is_ubuntu; then
echo 'APT::Acquire::Retries "20";' | sudo tee /etc/apt/apt.conf.d/80retry
fi
# Some distros need to add repos beyond the defaults provided by the vendor
# to pick up required packages.