File: glance.sh

package info (click to toggle)
puppet-module-glance 9.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,008 kB
  • ctags: 73
  • sloc: ruby: 5,522; python: 35; sh: 19; makefile: 17
file content (8 lines) | stat: -rwxr-xr-x 364 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/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