summaryrefslogtreecommitdiffstats
path: root/build/set_perf_images.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-09-21 23:30:18 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-09-21 23:30:19 +0000
commit30a2e131972b7b4dbccb702f0fc329ca6b2dd6a6 (patch)
treefb5d7dd60bf539c3749f070fae54480f3e49b9ed /build/set_perf_images.sh
parentea38c8623bcd509a30b7e9afaf0a66d40aa618c9 (diff)
parentc552a3c5b0c1c34293930fef8525057fc519a457 (diff)
Merge "Fixes disk space issue with perf scenarios on Undercloud"
Diffstat (limited to 'build/set_perf_images.sh')
-rw-r--r--build/set_perf_images.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/set_perf_images.sh b/build/set_perf_images.sh
index 0025cc75..d91c20ec 100644
--- a/build/set_perf_images.sh
+++ b/build/set_perf_images.sh
@@ -19,6 +19,7 @@ for ROLE in $@; do
KERNEL=$(glance image-show overcloud-full | grep 'kernel_id' | cut -d '|' -f 3 | xargs)
RAMDISK_ID=$(glance image-show ${RAMDISK} | grep id | awk {'print $4'})
glance image-create --name $ROLE-overcloud-full --disk-format qcow2 --file $ROLE-overcloud-full.qcow2 --container-format bare --property ramdisk_id=$RAMDISK_ID --property kernel_id=$KERNEL --is-public True
+ rm -f $ROLE-overcloud-full.qcow2
fi
if [ "$ROLE" == "Controller" ]; then