Move SSH pubkey to static path

Change-Id: Ib271711428c055ce5e8e30051ea8b0468ac9c74d
This commit is contained in:
Logan V 2019-03-17 13:48:20 -05:00
parent 5a0cd7db1d
commit 912b094835
3 changed files with 3 additions and 2 deletions

1
openstack_deploy/ssh Symbolic link
View File

@ -0,0 +1 @@
../ssh

View File

@ -9,7 +9,7 @@ haproxy_keepalived_external_interface: eth1
haproxy_keepalived_internal_interface: eth1
# Add the SSH pubkey needed for deployment
lxc_container_ssh_key: "{{ lookup('file', inventory_dir ~ '/../../ssh/id_rsa.pub') }}"
lxc_container_ssh_key: "{{ lookup('file', '/etc/openstack_deploy/ssh/id_rsa.pub') }}"
# Configure SSH keys on hosts
ssh_key_url: https://git.openstack.org/cgit/openstack/limestone-ci-cloud/plain/ssh/authorized_keys

View File

@ -6,7 +6,7 @@ export SCRIPT_PATH=$(dirname $(readlink -f "$0"))
export PROJECT_PATH=$(dirname "$SCRIPT_PATH")
export INSTALL_ARA="${INSTALL_ARA:-false}"
cp -R ${PROJECT_PATH}/openstack_deploy /etc
cp -RL ${PROJECT_PATH}/openstack_deploy /etc
pushd ${PROJECT_PATH}/openstack-ansible
source scripts/bootstrap-ansible.sh
if [ "$INSTALL_ARA" == true ]; then