add ssh key generation

This commit is contained in:
James Slagle 2014-02-10 15:37:34 -05:00
parent e22bbd5623
commit 7edda5523f
1 changed files with 5 additions and 0 deletions

View File

@ -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