Fix nova ssh keys permission
Change-Id: Ic7a2c8b5fb3ea530eba965a75122044da59713f8
This commit is contained in:
parent
51de7be825
commit
818b067071
@ -14,7 +14,7 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: OpenStack-Helm Nova
|
description: OpenStack-Helm Nova
|
||||||
name: nova
|
name: nova
|
||||||
version: 0.3.17
|
version: 0.3.18
|
||||||
home: https://docs.openstack.org/nova/latest/
|
home: https://docs.openstack.org/nova/latest/
|
||||||
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Nova/OpenStack_Project_Nova_vertical.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -20,7 +20,6 @@ export NOVA_USERNAME=$(id -u ${NOVA_USER_UID} -n)
|
|||||||
export NOVA_USER_HOME=$(eval echo ~${NOVA_USERNAME})
|
export NOVA_USER_HOME=$(eval echo ~${NOVA_USERNAME})
|
||||||
|
|
||||||
mkdir -p ${NOVA_USER_HOME}/.ssh
|
mkdir -p ${NOVA_USER_HOME}/.ssh
|
||||||
chown -R ${NOVA_USERNAME}:${NOVA_USERNAME} ${NOVA_USER_HOME}/.ssh
|
|
||||||
|
|
||||||
cat > ${NOVA_USER_HOME}/.ssh/config <<EOF
|
cat > ${NOVA_USER_HOME}/.ssh/config <<EOF
|
||||||
Host *
|
Host *
|
||||||
@ -32,3 +31,4 @@ EOF
|
|||||||
|
|
||||||
cp /tmp/nova-ssh/* ${NOVA_USER_HOME}/.ssh/
|
cp /tmp/nova-ssh/* ${NOVA_USER_HOME}/.ssh/
|
||||||
chmod 600 ${NOVA_USER_HOME}/.ssh/id_rsa
|
chmod 600 ${NOVA_USER_HOME}/.ssh/id_rsa
|
||||||
|
chown -R ${NOVA_USERNAME}:${NOVA_USERNAME} ${NOVA_USER_HOME}/.ssh
|
||||||
|
@ -86,4 +86,5 @@ nova:
|
|||||||
- 0.3.15 Ensure that the health check script handles cases where the PID file exists but is empty or does not contain the expected data structure.
|
- 0.3.15 Ensure that the health check script handles cases where the PID file exists but is empty or does not contain the expected data structure.
|
||||||
- 0.3.16 Use service tokens
|
- 0.3.16 Use service tokens
|
||||||
- 0.3.17 Set targeted dependency of nova-compute with ovn networking backend
|
- 0.3.17 Set targeted dependency of nova-compute with ovn networking backend
|
||||||
|
- 0.3.18 Fix nova ssh keys permission
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user