summaryrefslogtreecommitdiffstats
path: root/policy-drools/docker-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'policy-drools/docker-install.sh')
-rw-r--r--policy-drools/docker-install.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/policy-drools/docker-install.sh b/policy-drools/docker-install.sh
index 40a12649..012934ad 100644
--- a/policy-drools/docker-install.sh
+++ b/policy-drools/docker-install.sh
@@ -413,7 +413,6 @@ function install_base() {
BASEX_TGZ=
fi
fi
-
# Undo any changes in the $HOME directory if any
@@ -470,6 +469,7 @@ function install_base() {
configure_base
+ # save ${BASE_CONF} in PDP-D installation
cp "${BASE_CONF}" "${POLICY_HOME}"/etc/profile.d
# if ! create_keystore; then
@@ -631,6 +631,9 @@ EOF
fi
update_monitor $CONTROLLER_NAME
+
+ # save install configuration as an environment file
+ ln -s -f "${POLICY_HOME}/etc/profile.d/${BASE_CONF}" "${POLICY_HOME}/config/${BASE_CONF}.environment"
}