diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-06-02 11:28:41 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-06-02 11:28:41 -0700 |
| commit | 28320ced7afb2c224ab4e1cfb8a607646a2bd2e3 (patch) | |
| tree | 2fad7c4f443aef3e88ab39015fcd28cfb791933c /nova/auth | |
| parent | be2f5e986e41f8f8d63c0ef7a5c03916c70ba455 (diff) | |
| download | nova-28320ced7afb2c224ab4e1cfb8a607646a2bd2e3.tar.gz nova-28320ced7afb2c224ab4e1cfb8a607646a2bd2e3.tar.xz nova-28320ced7afb2c224ab4e1cfb8a607646a2bd2e3.zip | |
use %% because % is a replacement string character
Diffstat (limited to 'nova/auth')
| -rw-r--r-- | nova/auth/novarc.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/auth/novarc.template b/nova/auth/novarc.template index d30bd849c..eba3a8537 100644 --- a/nova/auth/novarc.template +++ b/nova/auth/novarc.template @@ -1,6 +1,6 @@ NOVARC=$(readlink -f "${BASH_SOURCE:-${0}}" 2>/dev/null) || NOVARC=$(python -c 'import os,sys; print os.path.abspath(os.path.realpath(sys.argv[1]))' "${BASH_SOURCE:-${0}}") -NOVA_KEY_DIR=${NOVARC%/*} +NOVA_KEY_DIR=${NOVARC%%/*} export EC2_ACCESS_KEY="%(access)s:%(project)s" export EC2_SECRET_KEY="%(secret)s" export EC2_URL="%(ec2)s" |
