Skip to content

Commit

Permalink
fix for domainhome (#4144)
Browse files Browse the repository at this point in the history
  • Loading branch information
marinakog committed Mar 31, 2023
1 parent 7bbce65 commit 212b28c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,9 @@ public static boolean scaleClusterWithWLDF(String clusterName,
}

logger.info("Creating WLDF policy rule and action");
String command = new StringBuffer("/u01/callpyscript.sh /u01/wldf.py ")
String command = new StringBuffer("echo ${DOMAIN_HOME}")
.append(" && export DOMAIN_HOME=" + domainHomeLocation)
.append(" && /u01/callpyscript.sh /u01/wldf.py ")
.append(ADMIN_USERNAME_DEFAULT)
.append(" ")
.append(ADMIN_PASSWORD_DEFAULT)
Expand Down

0 comments on commit 212b28c

Please sign in to comment.