From: Marco Fontani Date: Sat, 20 Nov 2010 19:26:04 +0000 (+0000) Subject: Correct parameters for new X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6895749d358fc3388e5b52208725f5d0d6e35af6;p=p5sagit%2FOyster.git Correct parameters for new --- diff --git a/lib/Oyster/Provision/Rackspace.pm b/lib/Oyster/Provision/Rackspace.pm index f1127d1..6929a9a 100644 --- a/lib/Oyster/Provision/Rackspace.pm +++ b/lib/Oyster/Provision/Rackspace.pm @@ -47,16 +47,16 @@ sub create { # Build the server my $server = Net::RackSpace::CloudServers::Server->new( - cloudservers => $self->_rs, - name => $self->name, - flavor => $self->size, - image => $self->image, - personality => [ + cloudservers => $self->_rs, + name => $self->name, + flavorid => $self->size, + imageid => $self->image, + personality => [ { path => $self->pub_ssh, contents => encode_base64($pub_ssh), }, - ], + ], ); $server->create_server;