Skip to content
Browse files

root pass only available on first reply, multiple IPs

  • Loading branch information...
1 parent 6762f69 commit 2bfa70388eed3af4c975c7fb4ac88303342c2186 @mfontani mfontani committed Nov 20, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Oyster/Provision/Rackspace.pm
View
4 lib/Oyster/Provision/Rackspace.pm
@@ -59,6 +59,7 @@ sub create {
],
);
$server->create_server;
+ warn "Server root password: ", $server->adminpass, "\n";
do {
$|=1;
@@ -71,8 +72,7 @@ sub create {
}
} while ( ( $server->status // '' ) ne 'ACTIVE' );
- warn "Server public IP is: ", ($server->public_address)[0], "\n";
- warn "Server root password: ", $server->adminpass, "\n";
+ warn "Server public IP is: @{$server->public_address}\n";
# Connect to server and execute installation routines?
# Use Net::SSH?

0 comments on commit 2bfa703

Please sign in to comment.
Something went wrong with that request. Please try again.