fix ip detection for swift-ceph

This commit is contained in:
Robin Appelman 2015-11-16 21:51:10 +01:00
parent c98b303a5e
commit d49fc9a5fc
1 changed files with 1 additions and 1 deletions

View File

@ -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"