Adds: Debian 10 (Buster) as a release for linux jails
This commit is contained in:
@@ -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
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user