Adds: Debian 10 (Buster) as a release for linux jails

This commit is contained in:
Yaazkal
2021-07-30 07:40:01 -05:00
parent 4be0143de5
commit a21be862d8
2 changed files with 15 additions and 0 deletions

View File

@@ -485,6 +485,13 @@ debian_stretch|stretch|debian-stretch)
echo "Increasing APT::Cache-Start" echo "Increasing APT::Cache-Start"
echo "APT::Cache-Start 251658240;" > "${bastille_releasesdir}"/Debian9/etc/apt/apt.conf.d/00aptitude 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}"/Debian9/etc/apt/apt.conf.d/00aptitude
;;
*) *)
usage usage
;; ;;

View File

@@ -600,6 +600,10 @@ if [ -n "${LINUX_JAIL}" ]; then
## check for FreeBSD releases name ## check for FreeBSD releases name
NAME_VERIFY=stretch NAME_VERIFY=stretch
;; ;;
debian_buster|buster|debian-buster)
## check for FreeBSD releases name
NAME_VERIFY=buster
;;
*) *)
error_notify "Unknown Linux." error_notify "Unknown Linux."
usage usage
@@ -662,6 +666,10 @@ if [ -z "${EMPTY_JAIL}" ]; then
NAME_VERIFY=Debian9 NAME_VERIFY=Debian9
validate_release validate_release
;; ;;
debian_buster|buster|debian-buster)
NAME_VERIFY=Debian10
validate_release
;;
*) *)
error_notify "Unknown Release." error_notify "Unknown Release."
usage usage