rhtyd commented on a change in pull request #4329:
URL: https://github.com/apache/cloudstack/pull/4329#discussion_r697286446
##########
File path:
server/src/main/java/org/apache/cloudstack/diagnostics/DiagnosticsServiceImpl.java
##########
@@ -341,7 +341,8 @@ private Answer
deleteDiagnosticsZipFileInsystemVm(VMInstanceVO vmInstance, Strin
boolean existsInSecondaryStore = dataDirectory.exists() ||
dataDirectory.mkdir();
if (existsInSecondaryStore) {
// scp from system VM to mounted sec storage directory
- File permKey = new
File("/var/cloudstack/management/.ssh/id_rsa");
+ String homeDir = System.getProperty("user.home");
+ File permKey = new File(homeDir + "/.ssh/id_rsa");
Review comment:
Tests advised - run diagnostic tests across all supported distros
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]