From bc85f505299742e6a18bc674a27d3f6a6c195c48 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Fri, 3 Jan 2025 07:42:02 -0700 Subject: [PATCH] network: Fix jail name variable --- usr/local/share/bastille/network.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/share/bastille/network.sh b/usr/local/share/bastille/network.sh index 2a252465..24180c9e 100644 --- a/usr/local/share/bastille/network.sh +++ b/usr/local/share/bastille/network.sh @@ -204,7 +204,7 @@ add_interface() { exec.prestart += "ifconfig ${_if} addm ${bridge_epair}a"; exec.prestart += "ifconfig ${bridge_epair}a ether ${macaddr}a"; exec.prestart += "ifconfig ${bridge_epair}b ether ${macaddr}b"; - exec.prestart += "ifconfig ${bridge_epair}a description \"vnet host interface for Bastille jail ${jail_name}\""; + exec.prestart += "ifconfig ${bridge_epair}a description \"vnet host interface for Bastille jail ${_jailname}\""; exec.poststop += "ifconfig ${_if} deletem ${bridge_epair}a"; exec.poststop += "ifconfig ${bridge_epair}a destroy"; } @@ -216,7 +216,7 @@ EOF vnet.interface += ${bridge_epair}b; exec.prestart += "ifconfig ${bridge_epair} create"; exec.prestart += "ifconfig ${_if} addm ${bridge_epair}a"; - exec.prestart += "ifconfig ${bridge_epair}a description \"vnet host interface for Bastille jail ${jail_name}\""; + exec.prestart += "ifconfig ${bridge_epair}a description \"vnet host interface for Bastille jail ${_jailname}\""; exec.poststop += "ifconfig ${_if} deletem ${bridge_epair}a"; exec.poststop += "ifconfig ${bridge_epair}a destroy"; }