mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-22 18:21:53 +01:00
Update create.sh
This commit is contained in:
@@ -189,7 +189,7 @@ validate_netif() {
|
|||||||
# Don't allow dots in INTERFACE if -V
|
# Don't allow dots in INTERFACE if -V
|
||||||
if [ -n "${VNET_JAIL}" ] && [ -z "${VNET_JAIL_BRIDGE}" ]; then
|
if [ -n "${VNET_JAIL}" ] && [ -z "${VNET_JAIL_BRIDGE}" ]; then
|
||||||
if echo "${INTERFACE}" | grep -q "\."; then
|
if echo "${INTERFACE}" | grep -q "\."; then
|
||||||
error_exit "[ERROR]: [-V|--vnet] does not support dots \(.\) in interface names."
|
error_exit "[ERROR]: [-V|--vnet] does not support dots (.) in interface names."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user