Skip to content

Commit

Permalink
agent installer update for root dir change
Browse files Browse the repository at this point in the history
Signed-off-by: Drupad Panchal <[email protected]>
  • Loading branch information
drupanchal committed Oct 23, 2024
1 parent 801bdcb commit 48bcef9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function install_agent()
{
export SYSTEM_MANAGER_OVERRIDE=true
_unpack_install_bundle "$1"
execute_cmd "/bin/bash ${PACKAGES}/installer.sh $CONFIG_FILE" "install"
execute_cmd "/bin/bash ${INSTALL_BASEDIR}/installer.sh $CONFIG_FILE" "install"
return $?
}

Expand All @@ -65,7 +65,7 @@ function upgrade_with_install_bundle()
{
export SYSTEM_MANAGER_OVERRIDE=true
_unpack_install_bundle "$1"
execute_cmd "/bin/bash ${PACKAGES}/installer.sh -u" "upgrade"
execute_cmd "/bin/bash ${INSTALL_BASEDIR}/installer.sh -u" "upgrade"
return $?
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ BASE_DIR=/opt/oracle
BOOTSTRAP_HOME="$BASE_DIR/bootstrap"
SCRIPTS=$BOOTSTRAP_HOME/scripts
PACKAGES=$BOOTSTRAP_HOME/packages
INSTALL_BASEDIR=$PACKAGES/mgmt_agent
# shellcheck disable=SC2034
UPGRADE_STAGE=$BOOTSTRAP_HOME/upgrade
CONFIG_FILE="$BASE_DIR/mgmtagent_secret/input.rsp"
Expand Down

0 comments on commit 48bcef9

Please sign in to comment.