Update create.sh

This commit is contained in:
tschettervictor
2025-04-26 11:29:24 -06:00
committed by GitHub
parent 015db9a095
commit e843f97d3b

View File

@@ -172,6 +172,9 @@ validate_netconf() {
if [ -n "${bastille_network_loopback}" ] && [ -n "${bastille_network_shared}" ]; then if [ -n "${bastille_network_loopback}" ] && [ -n "${bastille_network_shared}" ]; then
error_exit "Invalid network configuration." error_exit "Invalid network configuration."
fi fi
if [ "${bastille_network_vnet_type}" != "if_bridge" ] || [ "${bastille_network_vnet_type}" != "netgraph" ]; then
error_exit "[ERROR]: 'bastille_network_vnet_type' not set properly: ${bastille_network_vnet_type}"
fi
} }
validate_release() { validate_release() {