Add a tool to register prebuilt JEOS images into glance from github
Change-Id: Idb02e892f390516557c9cce3ca0fbab7109d33e1 Signed-off-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
parent
d1a6e3465d
commit
b4c6513a76
@ -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.
|
||||
|
8
tools/glance-jeos-add-from-github.sh
Executable file
8
tools/glance-jeos-add-from-github.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user