diff options
author | Ryan Brown <rybrown@redhat.com> | 2014-07-18 12:14:40 -0400 |
---|---|---|
committer | Ryan Brown <rybrown@redhat.com> | 2014-07-18 12:20:05 -0400 |
commit | a8899b0dbb00d87a1b79104ce87166adc8a992c9 (patch) | |
tree | 17886f3531157b5b5e2e5f351ad5ea8ebf691970 /tools | |
parent | 9adf703a8a39e921a5a7c7158128069f223153dc (diff) | |
download | heat-a8899b0dbb00d87a1b79104ce87166adc8a992c9.tar.gz |
Remove tools/glance-jeos-add-from-github.sh
glance-jeos-add-from-github.sh has not been edited since 2012-08-20, and
its image links have been broken (according to Google cache) for a
minimum of 9 months.
The functionality of the script seems to be superceded by the
handy-dandy diskimage-builder tool.
See http://docs.openstack.org/developer/heat/getting_started/jeos_building.html
for more info about diskimage-builder workflow.
Change-Id: I99880f1cca4af84fa7193d749a7c8f6957bb0b78
Partial-Bug: 1338066
Diffstat (limited to 'tools')
-rw-r--r-- | tools/README | 4 | ||||
-rwxr-xr-x | tools/glance-jeos-add-from-github.sh | 20 |
2 files changed, 0 insertions, 24 deletions
diff --git a/tools/README b/tools/README index 8226d5956..23bda9294 100644 --- a/tools/README +++ b/tools/README @@ -31,7 +31,3 @@ sudo nova-manage network create demonet 10.0.0.0/24 1 256 --bridge=demonetbr0 + heat-db-drop - This script drops the heat database from mysql in the case of developer data corruption or erasing heat. - -+ glance-jeos-add-from-github.sh - - Register all JEOS images from github prebuilt repositories. - This takes about 1 hour on a typical wireless connection. diff --git a/tools/glance-jeos-add-from-github.sh b/tools/glance-jeos-add-from-github.sh deleted file mode 100755 index 3a2223357..000000000 --- a/tools/glance-jeos-add-from-github.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -# Downloads JEOS images from github and installs them in glance - -DISK_FORMAT="qcow2" -INDEX_URL="https://github.com/heat-api/prebuilt-jeos-images/downloads" -DOWNLOAD_URL="http://cloud.github.com/downloads/heat-api/prebuilt-jeos-images" -IMAGES=$(curl -s ${INDEX_URL} | grep 'href="/downloads/heat-api/prebuilt-jeos-images' 2>/dev/null | grep ${DISK_FORMAT} | cut -d">" -f2 | cut -d"<" -f1) - -for i in ${IMAGES} -do - NAME=$(echo $i | sed "s/\.${DISK_FORMAT}//") - echo "Downloading and registering $i with OpenStack glance as ${NAME}" - if glance index | grep -q "\s${NAME}\s" - then - echo "WARNING : ${NAME} already exists, skipping" - else - echo "Downloading from ${DOWNLOAD_URL}/$i" - glance add name=${NAME} is_public=true disk_format=${DISK_FORMAT} container_format=bare copy_from="${DOWNLOAD_URL}/$i" - fi -done |