Add test script

This needs to be updated.
This commit is contained in:
Dan Bode 2012-03-29 16:45:40 -07:00
parent 9db052933a
commit 132278a5d9
2 changed files with 9 additions and 0 deletions

2
TODO Normal file
View File

@ -0,0 +1,2 @@
The glance api file is still massively different between Chris's version and
the version deployed on Precise

7
ext/glance.sh Executable file
View 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