Skip to content

Commit

Permalink
network: Fix jail name variable
Browse files Browse the repository at this point in the history
  • Loading branch information
tschettervictor authored Jan 3, 2025
1 parent 8e5edbc commit bc85f50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr/local/share/bastille/network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand All @@ -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";
}
Expand Down

0 comments on commit bc85f50

Please sign in to comment.