spec/integration/platforms/centos6/setup.sh in rundock-0.1.0 vs spec/integration/platforms/centos6/setup.sh in rundock-0.2.0
- old
+ new
@@ -46,10 +46,10 @@
) > ${RUNDOCK_DEFAULT_SSH_YML}
fi
cp ${RUNDOCK_SCENARIO_DIR}/* ${RUNDOCK_SCENARIO_CACHE_DIR}
-find ${RUNDOCK_SCENARIO_CACHE_DIR} -type f -name "*_scenario.yml" | \
+find ${RUNDOCK_SCENARIO_CACHE_DIR} -type f -name "*_scenario.yml" -or -name "*_group.yml" | \
xargs sed -i -e "s#<replaced_by_platforms>#${DOCKER_SSH_KEY_PRIVATE}#g"
sudo docker ps | grep "${DOCKER_IMAGE_NAME}" && { echo "docker image is already standing."; exit 0; }
yes | ssh-keygen -N "" -t rsa -f ${DOCKER_SSH_KEY_PRIVATE}