summaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/env/start-swift-ceph.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/tests/env/start-swift-ceph.sh')
-rwxr-xr-xapps/files_external/tests/env/start-swift-ceph.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/files_external/tests/env/start-swift-ceph.sh b/apps/files_external/tests/env/start-swift-ceph.sh
index f3707aa39f6..123f6b6871e 100755
--- a/apps/files_external/tests/env/start-swift-ceph.sh
+++ b/apps/files_external/tests/env/start-swift-ceph.sh
@@ -38,7 +38,6 @@ pass=testing
tenant=testenant
region=testregion
service=testceph
-endpointFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
container=`docker run -d \
-e KEYSTONE_PUBLIC_PORT=${port} \
@@ -48,9 +47,8 @@ container=`docker run -d \
-e KEYSTONE_ENDPOINT_REGION=${region} \
-e KEYSTONE_SERVICE=${service} \
-e OSD_SIZE=300 \
- -v ${endpointFolder}/entrypoint.sh:/entrypoint.sh \
--privileged \
- --entrypoint /entrypoint.sh ${docker_image}`
+ ${docker_image}`
host=`docker inspect --format="{{.NetworkSettings.IPAddress}}" $container`