diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-09-18 13:46:43 +0800 |
---|---|---|
committer | zhihui wu <wu.zhihui1@zte.com.cn> | 2017-09-18 13:46:43 +0800 |
commit | 5d67fdf522b7ba460f8337e3c6cfea3b340c46f8 (patch) | |
tree | 23ebd4b11ccc15e49242fc13803897ebdc6e28d5 /legacy/docker/cleanup_qtip_image.sh | |
parent | 25086394f9ebd7bd90698ea54734f27ee9d4517e (diff) |
delete legacy code from branch stable/euphrates
This directory doesn't need to publish in euphrates.
Change-Id: I2d88b85c272ca3df6cc504e08968e9432e2dd96d
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'legacy/docker/cleanup_qtip_image.sh')
-rw-r--r-- | legacy/docker/cleanup_qtip_image.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/legacy/docker/cleanup_qtip_image.sh b/legacy/docker/cleanup_qtip_image.sh deleted file mode 100644 index 9c2b59db..00000000 --- a/legacy/docker/cleanup_qtip_image.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -if [[ ! -f ${QTIP_DIR}/openrc ]];then - source ${REPOS_DIR}/releng/utils/fetch_os_creds.sh \ - -d ${QTIP_DIR}/openrc \ - -i ${INSTALLER_TYPE} \ - -a ${INSTALLER_IP} -fi - -source ${QTIP_DIR}/openrc - -cleanup_image() -{ - echo - if ! glance image-list; then - return - fi - - echo "Deleting image QTIP_CentOS..." - glance image-delete $(glance image-list | grep -e QTIP_CentOS | awk '{print $2}') - -} - -cleanup_image |