Fixed keypair generation in launch.sh. (#53)

Was appending, rather than overwriting a key when generating a key. Whoops!
This commit is contained in:
Pete Vander Giessen 2019-01-10 17:28:25 -05:00 committed by GitHub
parent 8bcda8bdd3
commit c378248bd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if [[ ! $(openstack keypair list | grep "| microstack |") ]]; then
echo "creating keypair ($HOME/.ssh/id_microstack)"
mkdir -p $HOME/.ssh
chmod 700 $HOME/.ssh
openstack keypair create microstack >> $HOME/.ssh/id_microstack
openstack keypair create microstack > $HOME/.ssh/id_microstack
chmod 600 $HOME/.ssh/id_microstack
fi