diff --git a/usr/local/share/bastille/bootstrap.sh b/usr/local/share/bastille/bootstrap.sh index 48e1f1f5..269e1b37 100644 --- a/usr/local/share/bastille/bootstrap.sh +++ b/usr/local/share/bastille/bootstrap.sh @@ -485,6 +485,13 @@ debian_stretch|stretch|debian-stretch) echo "Increasing APT::Cache-Start" echo "APT::Cache-Start 251658240;" > "${bastille_releasesdir}"/Debian9/etc/apt/apt.conf.d/00aptitude ;; +debian_buster|buster|debian-buster) + check_linux_prerequisites + ensure_debootstrap + debootstrap --foreign --arch=amd64 --no-check-gpg buster "${bastille_releasesdir}"/Debian10 + echo "Increasing APT::Cache-Start" + echo "APT::Cache-Start 251658240;" > "${bastille_releasesdir}"/Debian10/etc/apt/apt.conf.d/00aptitude + ;; *) usage ;; diff --git a/usr/local/share/bastille/create.sh b/usr/local/share/bastille/create.sh index 83bbe5db..c9d9cd58 100644 --- a/usr/local/share/bastille/create.sh +++ b/usr/local/share/bastille/create.sh @@ -600,6 +600,10 @@ if [ -n "${LINUX_JAIL}" ]; then ## check for FreeBSD releases name NAME_VERIFY=stretch ;; + debian_buster|buster|debian-buster) + ## check for FreeBSD releases name + NAME_VERIFY=buster + ;; *) error_notify "Unknown Linux." usage @@ -662,6 +666,10 @@ if [ -z "${EMPTY_JAIL}" ]; then NAME_VERIFY=Debian9 validate_release ;; + debian_buster|buster|debian-buster) + NAME_VERIFY=Debian10 + validate_release + ;; *) error_notify "Unknown Release." usage