脚本安装后的 glance 上传镜像文件
glance --os_username=demo --os_tenant_name=demo --os_auth_url=http://172.16.0.1:5000/v2.0 --os_password=openstack add name="ubuntu 12.04.2 amd64" disk_format=qcow2 container_format=bare < ubuntu-12.04.2-server-cloudimg-amd64-disk1.img