summaryrefslogtreecommitdiffstats
path: root/compass/deploy/ansible/openstack_juno/roles/glance/templates/image_upload.sh
blob: 9dd1fa8d313a75ef77ef318688f718a7c63f6f5f (plain)
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