> +
> + ServerInfo toCreate = new ServerInfo.Builder()
> + .name(name)
> + .vncPassword(defaultVncPassword)
> + .cpu(1000)
> + .memory(new BigInteger("512000000"))
> +
> .drives(ImmutableList.of(drive.toServerDrive(1, "0:1",
> DeviceEmulationType.IDE)))
> + .build();
> +
> + logger.debug(">> creating server");
> + ServerInfo from = client.createServer(toCreate);
> + logger.debug("<< created server(%s)", from.getUuid());
> + logger.debug(">> starting server(%s)", from.getUuid());
> + client.startServer(from.getUuid());
> + return new NodeAndInitialCredentials<ServerInfo>(from, from.getUuid(),
> LoginCredentials.builder()
> + .password(defaultVncPassword).authenticateSudo(true).build());
Don't know the details about how the cloudsigma api works, so I just want to
verify this :) The password in the LoginCredentials will be used by the compute
service to log in to the guest, for example, when executing the
`runScriptOnNode` methods. Is this password the ssh password of the deployed
node?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/12/files#r5278380