make sure we base the network bits

Change-Id: I1842676184b7bbc9190901ca0576e01818d49d7c
diff --git a/roles/head-node/files/do-ansible b/roles/head-node/files/do-ansible
index dfe70ad..ae2efb9 100755
--- a/roles/head-node/files/do-ansible
+++ b/roles/head-node/files/do-ansible
@@ -15,7 +15,7 @@
 SKIP_TAGS=
 EXTRA_VARS=
 if [ "$INTERFACE_CONFIG" -eq 1 ]; then
-	FAB_IP=$(curl -s http://allocator:4242/allocations/$MAC | sed -e 's/[{}"]//g' | cut -d, -f2 | cut -d: -f2)
+	FAB_IP="$(curl -s http://allocator:4242/allocations/$MAC | sed -e 's/[{}"]//g' | cut -d, -f2 | cut -d: -f2)/24"
 	EXTRA_VARS="--extra-vars=fabric_ip=$FAB_IP"
 else
 	SKIP_TAGS="--skip-tags=interface_config"