Merge "FirstApp - Shade key pair location"

This commit is contained in:
Jenkins 2016-05-24 04:18:50 +00:00 committed by Gerrit Code Review
commit 85eb47733b
2 changed files with 4 additions and 1 deletions
firstapp

@ -43,7 +43,7 @@ conn.delete_server(name_or_id=instance_name)
#step-9
print('Checking for existing SSH keypair...')
keypair_name = 'demokey'
pub_key_file = '~/.ssh/demo_key.pub'
pub_key_file = '/home/username/.ssh/id_rsa.pub'
if conn.search_keypairs(keypair_name):
print('Keypair already exists. Skipping import.')

@ -1193,6 +1193,9 @@ your public SSH key file.
.. only:: libcloud
.. note:: If you see an IOError, you may need to change ``~/.ssh/`` to
``/home/{USERNAME}/.ssh/``, using an absolute path.
.. literalinclude:: ../samples/libcloud/getting_started.py
:start-after: step-9
:end-before: step-10