Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1.  
  2. #!/bin/bash
  3.  
  4. # With the addition of Keystone, to use an openstack cloud you should
  5. # authenticate against keystone, which returns a **Token** and **Service
  6. # Catalog**. The catalog contains the endpoint for all services the
  7. # user/tenant has access to - including nova, glance, keystone, swift.
  8. #
  9. # *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We
  10. # will use the 1.1 *compute api*
  11. export OS_AUTH_URL=http://my-openstack-server:5000/v2.0
  12.  
  13. # With the addition of Keystone we have standardized on the term **tenant**
  14. # as the entity that owns the resources.
  15. export OS_TENANT_ID=0daa66dfcf8c495e9204081b98ae0d3b
  16. export OS_TENANT_NAME="pedroalvarez"
  17.  
  18. # In addition to the owning entity (tenant), openstack stores the entity
  19. # performing the action as the **user**.
  20. export OS_USERNAME="pedroalvarez"
  21.  
  22. # With Keystone you pass the keystone password.
  23. echo "Please enter your OpenStack Password: "
  24. read -sr OS_PASSWORD_INPUT
  25. export OS_PASSWORD=$OS_PASSWORD_INPUT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement