#!/bin/bash cat > ${WORKSPACE}/set_transaction_debugging.sh <> /tmp/${BUNDLEFOLDER}/etc/org.opendaylight.controller.cluster.datastore.cfg cat /tmp/${BUNDLEFOLDER}/etc/org.opendaylight.controller.cluster.datastore.cfg EOF echo "Copying config files to ODL Controller folder" for i in `seq 1 ${NUM_ODL_SYSTEM}` do CONTROLLERIP=ODL_SYSTEM_${i}_IP echo "Setting transaction-debug-context-enabled to true on ${!CONTROLLERIP}" scp ${WORKSPACE}/set_transaction_debugging.sh ${!CONTROLLERIP}:/tmp/ ssh ${!CONTROLLERIP} 'bash /tmp/set_transaction_debugging.sh' done