weizhouapache commented on code in PR #11732:
URL: https://github.com/apache/cloudstack/pull/11732#discussion_r2390084637


##########
plugins/hypervisors/external/src/main/java/org/apache/cloudstack/hypervisor/external/provisioner/ExternalPathPayloadProvisioner.java:
##########
@@ -104,7 +104,7 @@ public class ExternalPathPayloadProvisioner extends 
ManagerBase implements Exter
     private static final String PROPERTIES_FILE = "server.properties";
     private static final String EXTENSIONS_DEPLOYMENT_MODE_NAME = 
"extensions.deployment.mode";
     private static final String EXTENSIONS_DIRECTORY_PROD = 
"/usr/share/cloudstack-management/extensions";
-    private static final String EXTENSIONS_DATA_DIRECTORY_PROD = 
"/var/lib/cloudstack/management/extensions";
+    private static final String EXTENSIONS_DATA_DIRECTORY_PROD = 
System.getProperty("user.home") + "/extensions";
     private static final String EXTENSIONS_DIRECTORY_DEV = "extensions";

Review Comment:
   ```suggestion
       private static final String EXTENSIONS = "extensions";
       private static final String EXTENSIONS_DATA_DIRECTORY_PROD = 
System.getProperty("user.home") + File.separator + EXTENSIONS;
       private static final String EXTENSIONS_DIRECTORY_DEV = EXTENSIONS;
   ```



-- 
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]

Reply via email to