> +   }
> +
> +   private NodeMetadata locateInstance(final String instanceName, final 
> String zone)
> +         throws RunNodesException, TimeoutException {
> +      System.out.format("Locating instance: %s%n", zone + "/" + 
> instanceName);
> +
> +      NodeMetadata instance = computeService.getNodeMetadata(zone + "/" + 
> instanceName);
> +
> +      return instance;
> +   }
> +
> +   private void executeSimpleCommand(
> +         final NodeMetadata instance, final String googleUserName, final 
> String sshPrivateKey) {
> +      String script = new ScriptBuilder()
> +         .addStatement(exec("ls -l /"))
> +         .render(OsFamily.UNIX);

Done.

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

Reply via email to