1eff4a436e
Flavour is overloaded in openstack due to it being used by nova. Element seems to have the same feeling of combinability without using a term already in active use in the openstack community. Change-Id: Ia4c028d4062a8f69c66665821c94dd4bcdf06031
11 lines
299 B
Bash
Executable file
11 lines
299 B
Bash
Executable file
#!/bin/bash
|
|
# Save user SSH public key if available.
|
|
# (Obviously not suitable for downloadable images).
|
|
|
|
set -e
|
|
source $_LIB/die
|
|
[ -n "$TMP_HOOKS_PATH." ] || die "Temp hook path not set"
|
|
|
|
if [ -e ~/.ssh/authorized_keys ]; then
|
|
cat ~/.ssh/authorized_keys > $TMP_HOOKS_PATH/ssh-authorized-keys
|
|
fi
|