From: Marco Fontani Date: Sat, 20 Nov 2010 19:35:58 +0000 (+0000) Subject: Root password given only on returned object X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=355db0c8c7f54f982795764a045fb2debeda0ec4;p=p5sagit%2FOyster.git Root password given only on returned object --- diff --git a/lib/Oyster/Provision/Rackspace.pm b/lib/Oyster/Provision/Rackspace.pm index ee2002a..10f92fd 100644 --- a/lib/Oyster/Provision/Rackspace.pm +++ b/lib/Oyster/Provision/Rackspace.pm @@ -58,8 +58,8 @@ sub create { }, ], ); - $server->create_server; - warn "Server root password: ", $server->adminpass, "\n"; + my $newserver = $server->create_server; + warn "Server root password: ", $newserver->adminpass, "\n"; do { $|=1;