mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-10 17:00:18 +01:00
Workaround to copy host resolv.conf to jail path
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user