use apt.conf.d for the retries config

This commit is contained in:
Cyryl Płotnicki-Chudyk 2016-06-24 11:00:08 +02:00
parent b26b3d8bbf
commit 624c3bc72b

View file

@ -6,9 +6,7 @@ export DEBIAN_FRONTEND=noninteractive
export DONT_CHANGE_SHELL
export DONT_START_TOR
cat /etc/apt/apt.conf
echo "APT::Acquire::Retries=16" >> /etc/apt/apt.conf
cat /etc/apt/apt.conf
echo "APT::Acquire::Retries=16" >> /etc/apt/apt.conf.d/99_retries
apt-get update
apt-get install sudo