puppet-glance/ext/glance.sh
Dan Bode ffec6ab6b4 Update script for loading glance images
This commit updates the glance image uploading script.

This is going to be used for automating the process of importing
images.
2012-04-10 17:09:04 -07:00

9 lines
364 B
Bash
Executable File

#!/bin/bash
#
# assumes that resonable credentials have been stored at
# /root/auth
source /root/auth
wget http://uec-images.ubuntu.com/releases/11.10/release/ubuntu-11.10-server-cloudimg-amd64-disk1.img
glance add name="Ubuntu 11.10 cloudimg amd64" is_public=true container_format=ovf disk_format=qcow2 < ubuntu-11.10-server-cloudimg-amd64-disk1.img
glance index