Created
January 15, 2013 19:39
-
-
Save rrichardson/4541347 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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