Add test script

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

View File

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

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