Workaround to copy host resolv.conf to jail path

This commit is contained in:
JRGTH
2024-09-06 05:46:18 -04:00
parent 74d929c4a3
commit 7f4cf143a6
3 changed files with 4 additions and 2 deletions

View File

@@ -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.

View File

@@ -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.");

View File

@@ -1 +1 @@
1.1.36
1.1.37