Saturday 7 June 2014

Steps to create a keypair in OpenStack




[Steps summarised from http://docs.openstack.org/user-guide/content/cli_configure_instances.html]



Pre-requisites

Run steps from link http://itinsteps.blogspot.in/2014/06/steps-to-setup-openstack-command-line.html to setup command line tools for OpenStack.
Run steps from link http://itinsteps.blogspot.in/2014/06/steps-to-create-new-tenant-and-users-on.html to create a tenant and user for OpenStack.



Set environment for your specific user and tenant

# source ~/keystonerc_<user-name>



Create keypair

# nova keypair-add <key-name> > <my-key>.pem



Change permissions of the private key

# chmod 400 <my-key>.pem


No comments:

Post a Comment