Added task SetupCloudOptions

This commit is contained in:
Paulo Truta
2021-06-21 16:05:26 +00:00
parent 3b3010c8f0
commit bff0f6f817
3 changed files with 51 additions and 4 deletions
+8
View File
@@ -113,6 +113,14 @@ func GetPath(pathKey string) string {
}
switch pathKey {
case "cloudEnvFileLocation":
if env["CLOUD_ENV_FILE_LOCATION"] != "" {
targetPath = env["CLOUD_ENV_FILE_LOCATION"]
} else {
targetPath = "/home/system/components/edgeboxctl/cloud.env"
}
case "apiEnvFileLocation":
if env["API_ENV_FILE_LOCATION"] != "" {