Skip to content

Instantly share code, notes, and snippets.

@rrichardson
Created January 15, 2013 19:39
Show Gist options
  • Save rrichardson/4541347 to your computer and use it in GitHub Desktop.
Save rrichardson/4541347 to your computer and use it in GitHub Desktop.
diff --git a/lib/pkgcloud/core/compute/bootstrapper.js b/lib/pkgcloud/core/compute/bootstrapper.js
index 819ea80..9b2ffdf 100644
--- a/lib/pkgcloud/core/compute/bootstrapper.js
+++ b/lib/pkgcloud/core/compute/bootstrapper.js
@@ -171,7 +171,9 @@ Bootstrapper.prototype.createServer = function (options) {
if (options.flavorId) {
createOptions.flavor = options.flavorId;
}
-
+ if (options.keyname) {
+ createOptions.keyname = options.keyname;
+ }
//
// Remark: If there are any parameters specific to this
// compute provider then set them appropriately before
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment