exit
fi
-echo "adding retries for debootstrap to not fail"
-echo 'APT::Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries
echo "Creating chroot dir '$chrootdir'"
# Create coriolis chroot dir in /opt
mkdir /opt/chroot/$chrootdir
+echo "adding retries for debootstrap to not fail"
+echo 'APT::Acquire::Retries "10";' > /etc/apt/apt.conf.d/80-retries
+echo 'APT::Acquire::Retries "10";' > /opt/chroot/$chrootdir/etc/apt/apt.conf.d/80-retries
+
# Install debootstrap and schroot
if [ -e /etc/debian_version ]; then
# Debian detected: use apt