fix vnet issue

This commit is contained in:
Bike Dude
2021-07-12 09:25:52 +02:00
parent b768daf616
commit d20f5829c3
+6
View File
@@ -304,8 +304,14 @@ create_jail() {
if [ -n "${INTERFACE}" ]; then
local bastille_jail_conf_interface=${INTERFACE}
fi
## generate the jail configuration file
if [ -n "${VNET_JAIL}" ]; then
generate_vnet_jail_conf
else
generate_jail_conf
fi
fi
## using relative paths here
## MAKE SURE WE'RE IN THE RIGHT PLACE