Update GUI pages to work with later bastille releases

This commit is contained in:
Jose
2021-02-01 18:33:27 -04:00
parent 54982797a5
commit d4931b9b27
4 changed files with 4 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
======================
Version Description
1.0.81......Update GUI pages to work with later bastille releases.
1.0.80......Add checking for FreeBSD and HardenedBSD on upgrades.
1.0.79......Don't set template for empty jails, include files for 12.2 release.
1.0.78......Fix for proper bastille config update.

View File

@@ -197,7 +197,7 @@ $document->render();
html_checkbox2('emptyjail',gettext('Create an empty container'),!empty($pconfig['emptyjail']) ? true : false,gettext('This are ideal for custom builds, experimenting with unsupported RELEASES or Linux jails.'),'',false,false,'emptyjail_change()');
endif;
html_checkbox2('nowstart',gettext('Start after creation'),!empty($pconfig['nowstart']) ? true : false,gettext('Start the container after creation.'),'',false);
html_checkbox2('nowstart',gettext('Start after creation'),!empty($pconfig['nowstart']) ? true : false,gettext('Start the container after creation(May be overridden by later bastille releases).'),'',false);
html_checkbox2('autostart',gettext('Auto start on boot'),!empty($pconfig['autostart']) ? true : false,gettext('Automatically start the container at boot time.'),'',false);
?>
</tbody>

View File

@@ -82,7 +82,7 @@ if($_POST):
if (isset($_POST['Download']) && $_POST['Download']):
$get_release = $pconfig['release_item'];
$check_release = ("{$rootfolder}/releases/{$get_release}");
$cmd = sprintf('/usr/local/bin/bastille bootstrap %1$s > %2$s',$get_release,$logevent);
$cmd = sprintf('/bin/echo "Y" | /usr/local/bin/bastille bootstrap %1$s > %2$s',$get_release,$logevent);
$base_mandatory = "base";
unset($lib32,$ports,$src);

View File

@@ -1 +1 @@
1.0.80
1.0.81