> + .cpu((int) hardware.getProcessors().get(0).getSpeed()) > + > .memory(BigInteger.valueOf(hardware.getRam()).multiply(BigInteger.valueOf(1024 > * 1024))) > + .drives(ImmutableList.of(drive.toServerDrive(1, "0:1", > options.getDeviceEmulationType()))) > + .nics(nics) > + .meta(metadata) > + .tags(tagIds) > + > .vncPassword(Optional.fromNullable(options.getVncPassword()).or(defaultVncPassword)).build()); > + > + api.startServer(serverInfo.getUuid()); > + > + return new NodeAndInitialCredentials<ServerInfo>(serverInfo, > serverInfo.getUuid(), LoginCredentials.builder() > + .build()); > + } catch (Exception ex) { > + if (serverInfo != null) { > + logger.debug(">> rolling back the server..."); > + api.deleteServer(serverInfo.getUuid());
If this blows up, you will not be able to destroy the cloned drives? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/70/files#r17826024