From d49fc9a5fcb993307ff7ef188fff3da8a3d03c69 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 16 Nov 2015 21:51:10 +0100 Subject: fix ip detection for swift-ceph --- apps/files_external/tests/env/start-swift-ceph.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/files_external/tests/env/start-swift-ceph.sh b/apps/files_external/tests/env/start-swift-ceph.sh index a8305eee5a2..ea16e167af9 100755 --- a/apps/files_external/tests/env/start-swift-ceph.sh +++ b/apps/files_external/tests/env/start-swift-ceph.sh @@ -48,7 +48,7 @@ container=`docker run -d \ -e KEYSTONE_SERVICE=${service} \ ${docker_image}` -host=`docker inspect $container | grep IPAddress | cut -d '"' -f 4` +host=`docker inspect --format="{{.NetworkSettings.IPAddress}}" $container` echo "${docker_image} container: $container" -- cgit v1.2.3