Add option for thickjail creation if supported

This commit is contained in:
Jose
2019-11-16 17:46:29 -04:00
parent 7f41e5b18b
commit 9cc370d4ad
4 changed files with 15 additions and 4 deletions
+1
View File
@@ -53,6 +53,7 @@ $backup_path = exec("/bin/cat {$configfile} | /usr/bin/grep 'BACKUP_DIR=' | /usr
$bastille_config = "{$rootfolder}/conf/bastille_config";
$jail_dir = "{$rootfolder}/jails";
$image_dir = "ext/bastille/images";
$thick_jail = exec("/usr/local/bin/bastille create | grep -wo '\[option\]'");
// Ensure the root directory is configured.
if ($rootfolder == "")