Fixed keypair generation in launch.sh. (#53)
Was appending, rather than overwriting a key when generating a key. Whoops!
This commit is contained in:
parent
8bcda8bdd3
commit
c378248bd9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue