diff --git a/tools/README b/tools/README index 2864ff85a..8226d5956 100644 --- a/tools/README +++ b/tools/README @@ -22,6 +22,8 @@ Tools note: This tool does not create a network. Creating a network depends on the specific environment, but an example network creation: +sudo nova-manage network create demonet 10.0.0.0/24 1 256 --bridge=demonetbr0 + + heat-keystone-setup - This tool configures keystone for use with the heat service the first time openstack is installed. @@ -30,4 +32,6 @@ Tools - This script drops the heat database from mysql in the case of developer data corruption or erasing heat. -sudo nova-manage network create demonet 10.0.0.0/24 1 256 --bridge=demonetbr0 ++ 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 new file mode 100755 index 000000000..9c56ca1fa --- /dev/null +++ b/tools/glance-jeos-add-from-github.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Downloads JEOS images from github and installs them in glance + +for i in F16-x86_64-cfntools F16-i386-cfntools F17-x86_64-cfntools F17-i386-cfntools F16-x86_64-cfntools-openshift U10-x86_64-cfntools +do + echo "Downloading and registering $i with OpenStack glance." +glance add name=$i is_public=true disk_format=qcow2 container_format=bare copy_from="http://cloud.github.com/downloads/heat-api/prebuilt-jeos-images/$i.qcow2" +done