We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1dfa0d commit 3b11318Copy full SHA for 3b11318
1 file changed
install.sh
@@ -259,9 +259,11 @@ deploy_zone() {
259
cmk update networkserviceprovider state=Enabled id=$nsp_id
260
info "Configured VPC VR Network Service Provider for zone"
261
262
+ # TODO: use nmap to scan for free IPs in the range
263
+ # sudo nmap -v -sn -n 192.168.1.0/24 -oG - | awk '/Status: Down/{print $2}'
264
RANGE=$(echo $GATEWAY | sed 's/\..$//g')
-
265
pod_id=$(cmk create pod name=AdvPod1 zoneid=$zone_id gateway=$GATEWAY netmask=255.255.255.0 startip=$pod_start endip=$pod_end | jq '.pod.id')
266
+
267
}
268
269
display_url() {
0 commit comments