How to upload new image
1)
Export the credentials
export OS_USERNAME=admin
export OS_PASSWORD=secret123
export OS_TENANT_NAME=myproject1
export OS_AUTH_URL=http://192.168.56.101:35357/v2.0
2)
Verify the credentials
#keystone token-get
3)
List all images
#glance image-list
4)
Upload an image (cirros)
#glance image-create --progress --name cirros-0.3.2 --disk-format qcow2 --container-format bare --is-public True --file cirros-0.3.2-x86_64-disk.img
5)
List all images
#glance image-list
1)
Export the credentials
export OS_USERNAME=admin
export OS_PASSWORD=secret123
export OS_TENANT_NAME=myproject1
export OS_AUTH_URL=http://192.168.56.101:35357/v2.0
2)
Verify the credentials
#keystone token-get
3)
List all images
#glance image-list
4)
Upload an image (cirros)
#glance image-create --progress --name cirros-0.3.2 --disk-format qcow2 --container-format bare --is-public True --file cirros-0.3.2-x86_64-disk.img
5)
List all images
#glance image-list
No comments:
Post a Comment