Add test script
This needs to be updated.
This commit is contained in:
parent
c7c7d8370f
commit
1e2d70d9d0
2
deployment/puppet/glance/TODO
Normal file
2
deployment/puppet/glance/TODO
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
The glance api file is still massively different between Chris's version and
|
||||||
|
the version deployed on Precise
|
7
deployment/puppet/glance/ext/glance.sh
Executable file
7
deployment/puppet/glance/ext/glance.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Extract creds
|
||||||
|
# Add images to glance and index
|
||||||
|
glance add name=ramdisk disk_format=ari container_format=ari is_public=True < /vagrant/images/lucid_ami/initrd.img-2.6.32-23-server
|
||||||
|
glance add name=kernel disk_format=aki container_format=aki is_public=True < /vagrant/images/lucid_ami/vmlinuz-2.6.32-23-server
|
||||||
|
glance add name=lucid_ami disk_format=ami container_format=ami is_public=True ramdisk_id=1 kernel_id=2 < /vagrant/images/lucid_ami/ubuntu-lucid.img
|
||||||
|
glance index
|
Loading…
Reference in New Issue
Block a user