Skip to content

Commit 48bcef9

Browse files
committed
agent installer update for root dir change
Signed-off-by: Drupad Panchal <[email protected]>
1 parent 801bdcb commit 48bcef9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

OracleManagementAgent/dockerfiles/latest/container-scripts/install_zip.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function install_agent()
5454
{
5555
export SYSTEM_MANAGER_OVERRIDE=true
5656
_unpack_install_bundle "$1"
57-
execute_cmd "/bin/bash ${PACKAGES}/installer.sh $CONFIG_FILE" "install"
57+
execute_cmd "/bin/bash ${INSTALL_BASEDIR}/installer.sh $CONFIG_FILE" "install"
5858
return $?
5959
}
6060

@@ -65,7 +65,7 @@ function upgrade_with_install_bundle()
6565
{
6666
export SYSTEM_MANAGER_OVERRIDE=true
6767
_unpack_install_bundle "$1"
68-
execute_cmd "/bin/bash ${PACKAGES}/installer.sh -u" "upgrade"
68+
execute_cmd "/bin/bash ${INSTALL_BASEDIR}/installer.sh -u" "upgrade"
6969
return $?
7070
}
7171

OracleManagementAgent/dockerfiles/latest/container-scripts/watchdog.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ BASE_DIR=/opt/oracle
1313
BOOTSTRAP_HOME="$BASE_DIR/bootstrap"
1414
SCRIPTS=$BOOTSTRAP_HOME/scripts
1515
PACKAGES=$BOOTSTRAP_HOME/packages
16+
INSTALL_BASEDIR=$PACKAGES/mgmt_agent
1617
# shellcheck disable=SC2034
1718
UPGRADE_STAGE=$BOOTSTRAP_HOME/upgrade
1819
CONFIG_FILE="$BASE_DIR/mgmtagent_secret/input.rsp"

0 commit comments

Comments
 (0)