kitchen-rackspace ssh keys

31 views
Skip to first unread message

chris.fields

unread,
May 1, 2014, 9:12:14 AM5/1/14
to testing-...@googlegroups.com
After using the kitchen-openstack driver plugin I was frustrated by the lack of a private key parameter in the kitchen-rackspace plugin.  I could specify a public key to create my VM with but I had no way to tell the plugin what private key to use. After reading the code (https://github.com/test-kitchen/kitchen-rackspace/blob/master/lib/kitchen/driver/rackspace.rb) I found that I simply needed to use an expected name for my public key like '~/.ssh/id_rsa.pub' and the driver figures out to use '~/.ssh/id_rsa' as the private key.  

Also, '--log-level' switch is pretty handy.  Try '--log-level debug' for a lot of extra info. 

Mischa Taylor

unread,
May 1, 2014, 12:51:13 PM5/1/14
to testing-...@googlegroups.com
Awesome tips Chris!  It definitely helps to read the code for some of these things - and even better when you share your finding!
Reply all
Reply to author
Forward
0 new messages