Update release list, added new Debian/Ubuntu distros

This commit is contained in:
JRGTH committed 2024-10-07 03:09:54 -04:00
1 parent 7f4cf143a6
commit 11b6f25167
3 files changed
+19 -8

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
====================== ======================
Version Description Version Description
1.1.38......Update release list, added new Debian/Ubuntu distros.
1.1.37......Workaround to copy host resolv.conf to jail path. 1.1.37......Workaround to copy host resolv.conf to jail path.
1.1.36......Update bastille config, use current extension path. 1.1.36......Update bastille config, use current extension path.
1.1.35......Update bastille config. 1.1.35......Update bastille config.
+17 -7
View File
@@ -72,36 +72,42 @@ $sphere_array = $rel_list;
if ($linux_compat_support == "YES"): if ($linux_compat_support == "YES"):
$a_action = [ $a_action = [
'14.0-RELEASE' => gettext('14.0-RELEASE'), //'14.2-RELEASE' => gettext('14.2-RELEASE'),
'14.1-RELEASE' => gettext('14.1-RELEASE'), '14.1-RELEASE' => gettext('14.1-RELEASE'),
'14.0-RELEASE' => gettext('14.0-RELEASE'),
'13.4-RELEASE' => gettext('13.4-RELEASE'),
'13.3-RELEASE' => gettext('13.3-RELEASE'), '13.3-RELEASE' => gettext('13.3-RELEASE'),
'13.2-RELEASE' => gettext('13.2-RELEASE'), '13.2-RELEASE' => gettext('13.2-RELEASE'),
'13.1-RELEASE' => gettext('13.1-RELEASE'), '13.1-RELEASE' => gettext('13.1-RELEASE'),
'13.0-RELEASE' => gettext('13.0-RELEASE'), '13.0-RELEASE' => gettext('13.0-RELEASE'),
'12.4-RELEASE' => gettext('12.4-RELEASE'),
'12.3-RELEASE' => gettext('12.3-RELEASE'), '12.3-RELEASE' => gettext('12.3-RELEASE'),
//'12.4-RELEASE' => gettext('12.4-RELEASE'), -> To be uncommented when avail
'12.2-RELEASE' => gettext('12.2-RELEASE'), '12.2-RELEASE' => gettext('12.2-RELEASE'),
'12.1-RELEASE' => gettext('12.1-RELEASE'), '12.1-RELEASE' => gettext('12.1-RELEASE'),
'12.0-RELEASE' => gettext('12.0-RELEASE'), '12.0-RELEASE' => gettext('12.0-RELEASE'),
'11.4-RELEASE' => gettext('11.4-RELEASE'), '11.4-RELEASE' => gettext('11.4-RELEASE'),
'11.3-RELEASE' => gettext('11.3-RELEASE'), '11.3-RELEASE' => gettext('11.3-RELEASE'),
'11.2-RELEASE' => gettext('11.2-RELEASE'), '11.2-RELEASE' => gettext('11.2-RELEASE'),
'ubuntu-bionic' => gettext('Ubuntu-Bionic'), 'ubuntu-jammy' => gettext('Ubuntu-Jammy'),
'ubuntu-focal' => gettext('Ubuntu-Focal'), 'ubuntu-focal' => gettext('Ubuntu-Focal'),
'debian-stretch' => gettext('Debian-Stretch'), 'ubuntu-bionic' => gettext('Ubuntu-Bionic'),
'debian-buster' => gettext('Debian-Buster'), 'debian-bookworm' => gettext('Debian-Bookworm'),
'debian-bullseye' => gettext('Debian-Bullseye'), 'debian-bullseye' => gettext('Debian-Bullseye'),
'debian-buster' => gettext('Debian-Buster'),
//'debian-stretch' => gettext('Debian-Stretch'), -> Obsolete, removed from bastille boostrap.
]; ];
else: else:
$a_action = [ $a_action = [
'14.0-RELEASE' => gettext('14.0-RELEASE'), //'14.2-RELEASE' => gettext('14.2-RELEASE'),
'14.1-RELEASE' => gettext('14.1-RELEASE'), '14.1-RELEASE' => gettext('14.1-RELEASE'),
'14.0-RELEASE' => gettext('14.0-RELEASE'),
'13.4-RELEASE' => gettext('13.4-RELEASE'),
'13.3-RELEASE' => gettext('13.3-RELEASE'), '13.3-RELEASE' => gettext('13.3-RELEASE'),
'13.2-RELEASE' => gettext('13.2-RELEASE'), '13.2-RELEASE' => gettext('13.2-RELEASE'),
'13.1-RELEASE' => gettext('13.1-RELEASE'), '13.1-RELEASE' => gettext('13.1-RELEASE'),
'13.0-RELEASE' => gettext('13.0-RELEASE'), '13.0-RELEASE' => gettext('13.0-RELEASE'),
'12.4-RELEASE' => gettext('12.4-RELEASE'),
'12.3-RELEASE' => gettext('12.3-RELEASE'), '12.3-RELEASE' => gettext('12.3-RELEASE'),
//'12.4-RELEASE' => gettext('12.4-RELEASE'), -> To be uncommented when avail
'12.2-RELEASE' => gettext('12.2-RELEASE'), '12.2-RELEASE' => gettext('12.2-RELEASE'),
'12.1-RELEASE' => gettext('12.1-RELEASE'), '12.1-RELEASE' => gettext('12.1-RELEASE'),
'12.0-RELEASE' => gettext('12.0-RELEASE'), '12.0-RELEASE' => gettext('12.0-RELEASE'),
@@ -182,12 +188,16 @@ if($_POST):
$get_release = "Ubuntu_1804"; $get_release = "Ubuntu_1804";
elseif($get_release == 'ubuntu-focal'): elseif($get_release == 'ubuntu-focal'):
$get_release = "Ubuntu_2004"; $get_release = "Ubuntu_2004";
elseif($get_release == 'ubuntu-jammy'):
$get_release = "Ubuntu_2204";
elseif($get_release == 'debian-stretch'): elseif($get_release == 'debian-stretch'):
$get_release = "Debian9"; $get_release = "Debian9";
elseif($get_release == 'debian-buster'): elseif($get_release == 'debian-buster'):
$get_release = "Debian10"; $get_release = "Debian10";
elseif($get_release == 'debian-bullseye'): elseif($get_release == 'debian-bullseye'):
$get_release = "Debian11"; $get_release = "Debian11";
elseif($get_release == 'debian-bookworm'):
$get_release = "Debian12";
endif; endif;
$check_release = ("{$rootfolder}/releases/{$get_release}"); $check_release = ("{$rootfolder}/releases/{$get_release}");
+1 -1
View File
@@ -1 +1 @@
1.1.37 1.1.38