~ubuntu-branches/ubuntu/trusty/horizon/trusty-updates

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/api_access/openrc.sh.template

  • Committer: Package Import Robot
  • Author(s): Adam Gandelman
  • Date: 2013-09-06 11:59:43 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20130906115943-h3td0l7tp16mb9oc
Tags: 1:2013.2~b3-0ubuntu1
* New upstream release.
* debian/control: Minimum python-openstack-auth version >= 1.1.1.
* debian/control: Add python-troveclient.
* debian/static: Refresh static assets for 2013.2~b3.
* debian/patches: ubuntu_local_settings.patch -> ubuntu_settings.patch, also
  patch location of secret key in openstack_dashboard/settings.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% load shellfilter %}
1
2
#!/bin/bash
2
3
 
3
4
# With the addition of Keystone, to use an openstack cloud you should
12
13
# With the addition of Keystone we have standardized on the term **tenant**
13
14
# as the entity that owns the resources.
14
15
export OS_TENANT_ID={{ tenant_id }}
15
 
export OS_TENANT_NAME="{{ tenant_name }}"
 
16
export OS_TENANT_NAME="{{ tenant_name|shellfilter }}"
16
17
 
17
18
# In addition to the owning entity (tenant), openstack stores the entity
18
19
# performing the action as the **user**.
19
 
export OS_USERNAME={{ user.username }}
 
20
export OS_USERNAME="{{ user.username|shellfilter }}"
20
21
 
21
22
# With Keystone you pass the keystone password.
22
23
echo "Please enter your OpenStack Password: "