Skip to content

Commit 7b54706

Browse files
author
Jamie Hannaford
committed
Merge pull request rackspace#606 from notFloran/fix-create-server-keypair-sample
Fix "create_server_with_keypair" sample
2 parents 30bc992 + ba5c9bb commit 7b54706

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

samples/Compute/create_server_with_keypair.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040
$response = $server->create(array(
4141
'name' => '{serverName}',
4242
'imageId' => '{imageId}',
43-
'flavorId' => '{flavorId}'
43+
'flavorId' => '{flavorId}',
44+
'keypair' => '{keypairName}'
4445
));
4546
} catch (BadResponseException $e) {
4647
echo $e->getResponse();

0 commit comments

Comments
 (0)