Fix devstack hardcode location of astara appliance public key

Use environment variable $HOME to set the default public key path.

Change-Id: I893c14ac4e2bb847487b1b67a8530893627cec7d
Closes-Bug: #1524596
This commit is contained in:
zhang sheng 2016-01-07 09:45:06 +08:00
parent 41d6a59df6
commit 7a69eb0f7e
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ HORIZON_LOCAL_SETTINGS=$HORIZON_DIR/openstack_dashboard/local/local_settings.py
# Path to public ssh key that will be added to the 'astara' users authorized_keys
# within the appliance VM.
ASTARA_APPLIANCE_SSH_PUBLIC_KEY=${ASTARA_APPLIANCE_SSH_PUBLIC_KEY:-/home/$STACK_USER/.ssh/id_rsa.pub}
ASTARA_APPLIANCE_SSH_PUBLIC_KEY=${ASTARA_APPLIANCE_SSH_PUBLIC_KEY:-$HOME/.ssh/id_rsa.pub}
ASTARA_COORDINATION_ENABLED=${ASTARA_COORDINATION_ENABLED:-True}
ASTARA_COORDINATION_URL=${ASTARA_COORDINATION_URL:-memcached://localhost:11211}