jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From najtmar <notificati...@github.com>
Subject Re: [jclouds-examples] Simplify interface of Google examples and fix the name and comment of userName variable (#63)
Date Mon, 22 Sep 2014 10:20:54 GMT
>        String instanceName = args[2];
>        String zone = args[3];
> -      String googleUserName = args[4];
> -      String sshPrivateKey = Files.toString(new File(args[5]), Charset.defaultCharset());
> +      String userName = System.getProperty("user.name");
> +      String sshPrivateKeyFileName = System.getProperty("user.home") + "/.ssh/google_compute_engine";

Done.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-examples/pull/63/files#r17841423
Mime
View raw message