Remove unused NUM_OPENSTACK_SITES
[releng/builder.git] / jjb / integration / common-functions.sh
index 96dd162b5a24b62668630475f1effded9bc8836f..6cc4af21050ab577da58c3baf44d09000673f488 100644 (file)
@@ -807,7 +807,7 @@ function copy_and_run_post_startup_script() {
         echo "Execute the post startup script on controller ${!CONTROLLERIP}"
         scp ${WORKSPACE}/post-startup-script.sh ${!CONTROLLERIP}:/tmp
         ssh ${!CONTROLLERIP} "bash /tmp/post-startup-script.sh $(( seed_index++ ))"
-        if [ $(( $i % (${NUM_ODL_SYSTEM} / ${NUM_OPENSTACK_SITES}) )) == 0 ]; then
+        if [ $(( $i % ${NUM_ODL_SYSTEM} )) == 0 ]; then
             seed_index=1
         fi
     done