Add production deployment configs for the collab relay and locator: region-split compose (CN/global), direct nginx gateways and location maps, the CN docker-user firewall install/verify/validate tooling and systemd unit, and an SoftHSM-backed locator variant. Extend the collab security/deployment boundary checks to cover the new artifacts. The CN application host address is a placeholder (10.0.0.10); substitute the real private address at deploy time.
12 lines
284 B
Awk
12 lines
284 B
Awk
# Count exact configured IPv4 assignments in `ip -4 -o addr show dev` output.
|
|
$3 == "inet" {
|
|
split($4, address_and_prefix, "/")
|
|
if (address_and_prefix[1] == expected_ipv4 &&
|
|
address_and_prefix[2] ~ /^[0-9]+$/) {
|
|
matches++
|
|
}
|
|
}
|
|
END {
|
|
print matches + 0
|
|
}
|