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

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