Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

[WIP] Add KeyName option for servers #550

Closed
wants to merge 1 commit into from

Conversation

hironobu-s
Copy link

This adds KeyName property to CreateOpts struct, and It will be able to create the instance with ssh public key.

https://developer.rackspace.com/docs/cloud-servers/v2/developer-guide/#post-create-server-servers

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.008%) to 79.964% when pulling 4786f04 on hironobu-s:add-key-name-option into 3dc5217 on rackspace:master.

@jrperritt
Copy link
Contributor

In OpenStack, keypairs are an extension. Use the keypairs package: https://github.com/rackspace/gophercloud/blob/master/openstack/compute/v2/extensions/keypairs/requests.go#L14

@hironobu-s
Copy link
Author

Thank you for your advice!

@hironobu-s hironobu-s closed this Apr 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants