diff --git a/nova/Chart.yaml b/nova/Chart.yaml index fba86e1f48..75b90a8a83 100644 --- a/nova/Chart.yaml +++ b/nova/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v1.0.0 description: OpenStack-Helm Nova name: nova -version: 0.2.25 +version: 0.2.26 home: https://docs.openstack.org/nova/latest/ icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png sources: diff --git a/nova/templates/bin/_ssh-init.sh.tpl b/nova/templates/bin/_ssh-init.sh.tpl index be2e33a418..9032933d2a 100644 --- a/nova/templates/bin/_ssh-init.sh.tpl +++ b/nova/templates/bin/_ssh-init.sh.tpl @@ -16,10 +16,13 @@ limitations under the License. set -ex -mkdir -p ~nova/.ssh -chown -R nova:nova ~nova/.ssh +export NOVA_USERNAME=$(id -u ${NOVA_USER_UID} -n) +export NOVA_USER_HOME=$(eval echo ~${NOVA_USERNAME}) -cat > ~nova/.ssh/config < ${NOVA_USER_HOME}/.ssh/config <