diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-06-02 19:10:47 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-06-02 19:10:47 +0000 |
| commit | f3e3b4b0fb1fb948f0fa5042ab854c00a710a6c2 (patch) | |
| tree | 366b2cc6c4633a0a7e34b57db03342d7d03d4143 /nova | |
| parent | 8b6de21b5ed4248998eef7deb57b1bc4f3863276 (diff) | |
| parent | 28320ced7afb2c224ab4e1cfb8a607646a2bd2e3 (diff) | |
| download | nova-f3e3b4b0fb1fb948f0fa5042ab854c00a710a6c2.tar.gz nova-f3e3b4b0fb1fb948f0fa5042ab854c00a710a6c2.tar.xz nova-f3e3b4b0fb1fb948f0fa5042ab854c00a710a6c2.zip | |
Fix error with % as replacement string.
Diffstat (limited to 'nova')
| -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" |
