> +      //templateBuilder.minRam(8192);
> +      Template template = templateBuilder.build();
> +      // test passing custom options
> +      SoftLayerTemplateOptions options = 
> template.getOptions().as(SoftLayerTemplateOptions.class);
> +      options.domainName("live.org");
> +      // multi-disk option
> +      options.blockDevices(ImmutableList.of(100, 400, 400));
> +
> +      Set<? extends NodeMetadata> nodes = 
> context.getComputeService().createNodesInGroup(name, numNodes, template);
> +      assertEquals(numNodes, nodes.size(), "wrong number of nodes");
> +      for (NodeMetadata node : nodes) {
> +         logger.debug("Created Node: %s", node);
> +         SshClient client = context.utils().sshForNode().apply(node);
> +         client.connect();
> +         ExecResponse hello = client.exec("mount");
> +         System.out.println(hello.getOutput().trim());

Use the logger.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/296/files#r11139594

Reply via email to