diff options
Diffstat (limited to 'compass/deploy/ansible/roles/glance/templates/image_upload.sh')
-rw-r--r-- | compass/deploy/ansible/roles/glance/templates/image_upload.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compass/deploy/ansible/roles/glance/templates/image_upload.sh b/compass/deploy/ansible/roles/glance/templates/image_upload.sh new file mode 100644 index 000000000..9dd1fa8d3 --- /dev/null +++ b/compass/deploy/ansible/roles/glance/templates/image_upload.sh @@ -0,0 +1,2 @@ +sleep 10 +glance --os-username=admin --os-password={{ ADMIN_PASS }} --os-tenant-name=admin --os-auth-url=http://{{ HA_VIP }}:35357/v2.0 image-create --name="cirros" --disk-format=qcow2 --container-format=bare --is-public=true < /opt/{{ build_in_image_name }} && touch glance.import.completed |