Workaround to copy host resolv.conf to jail path

This commit is contained in:
JRGTH committed 2024-09-06 05:46:18 -04:00
1 parent 74d929c4a3
commit 7f4cf143a6
3 files changed
+4 -2

No files matched your search

+1
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.
+2 -1
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.");
+1 -1
View File
@@ -1 +1 @@
1.1.36
1.1.37