Skip to content
Snippets Groups Projects
Commit 4daf5538 authored by Sebastian Rieger's avatar Sebastian Rieger
Browse files

changed username

parent d05d1273
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ public class StartVertSysServersTokyo {
} catch (Exception e) {
throw new AmazonClientException("Cannot load the credentials from the credential profiles file. "
+ "Please make sure that your credentials file is at the correct "
+ "location (C:\\Users\\sebas\\.aws\\credentials), and is in valid format.", e);
+ "location (C:\\Users\\<username>\\.aws\\credentials), and is in valid format.", e);
}
// Tokyo
......@@ -64,7 +64,6 @@ public class StartVertSysServersTokyo {
.withRegion("ap-northeast-1").build();
System.out.println("Loading user-data from file...");
System.out.println(System.getProperty("user.home"));
byte[] encoded = Files.readAllBytes(Paths.get("src\\verteiltesysteme\\aws\\user-data.txt"));
String userData = Base64.getEncoder().encodeToString(encoded);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment