JIRA: BOTTLENECK-35
Change-Id: Ie62e7352f92e2cf38bfd0ab2a9b40f73b0b6daeb
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
echo "load bottlenecks image"
curl --connect-timeout 10 -o /tmp/bottlenecks-trusty-server.img $IMAGE_URL -v
echo "load bottlenecks image"
curl --connect-timeout 10 -o /tmp/bottlenecks-trusty-server.img $IMAGE_URL -v
+ if [ $?!=0 ]; then
+ wget http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img -O \
+ /tmp/bottlenecks-trusty-server.img
+ fi
result=$(glance image-create \
--name $IMAGE_NAME \
result=$(glance image-create \
--name $IMAGE_NAME \