add ssh key generation
This commit is contained in:
parent
e22bbd5623
commit
7edda5523f
|
@ -6,6 +6,11 @@ sudo cp /root/stackrc .
|
|||
sudo chown $USER: stackrc
|
||||
source stackrc
|
||||
|
||||
# generate ssh authentication keys if they don't exist
|
||||
if [ ! -f ~/.ssh/id_rsa ]; then
|
||||
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa
|
||||
fi
|
||||
|
||||
user-config
|
||||
|
||||
load-image overcloud-control.qcow2
|
||||
|
|
Loading…
Reference in New Issue