From 7f4cf143a69f9c2bf3e0a95b1763e947155f29ff Mon Sep 17 00:00:00 2001 From: JRGTH Date: Fri, 6 Sep 2024 05:46:18 -0400 Subject: [PATCH] Workaround to copy host resolv.conf to jail path --- CHANGELOG | 1 + gui/bastille_manager_add.php | 3 ++- version | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index f5a3b0d..3ee15d8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ ====================== Version Description +1.1.37......Workaround to copy host resolv.conf to jail path. 1.1.36......Update bastille config, use current extension path. 1.1.35......Update bastille config. 1.1.34......Add option to create externally bridged vnet jails thought the webgui. diff --git a/gui/bastille_manager_add.php b/gui/bastille_manager_add.php index e0d9cc0..e49b68a 100644 --- a/gui/bastille_manager_add.php +++ b/gui/bastille_manager_add.php @@ -125,7 +125,8 @@ if($_POST): endif; if(is_link($resolv_conf)): if(unlink($resolv_conf)): - exec("/usr/local/bin/bastille cp $jname $resolv_host etc"); + //exec("/usr/local/bin/bastille cp $jname $resolv_host etc"); + copy($resolv_host, $resolv_conf); endif; endif; //$savemsg .= gtext("Boot Environment created and activated successfully."); diff --git a/version b/version index df676e1..36638c8 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.1.36 +1.1.37