Skip to content

Commit

Permalink
Merge pull request #8966 from Azure/dvir-ms-patch-13
Browse files Browse the repository at this point in the history
Update sapcon-sentinel-kickstart.sh
  • Loading branch information
v-atulyadav authored Sep 7, 2023
2 parents c5a588f + 01e9d64 commit e262391
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Solutions/SAP/sapcon-sentinel-kickstart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ while [[ $# -gt 0 ]]; do
SID="$2"
shift 2
;;
--hostnetwork)
HOSTNETWORK=1
shift 1
;;
--clientnumber)
CLIENTNUMBER="$2"
shift 2
Expand Down Expand Up @@ -265,6 +269,7 @@ while [[ $# -gt 0 ]]; do
echo "--abapserver <servername>"
echo "--systemnr <system number>"
echo "--sid <SID>"
echo "--hostnetwork"
echo "--clientnumber <client number>"
echo "--messageserverhost <servername>"
echo "--messageserverport <servername>"
Expand Down Expand Up @@ -787,6 +792,10 @@ cmdparams=" --label Cloud=$CLOUD"
# Generating SENTINEL_AGENT_GUID
cmdparams+=" -e SENTINEL_AGENT_GUID=$(uuidgen) "

if [ $HOSTNETWORK ]; then
cmdparams+=" --network host"
fi

if [ "$MODE" == "kvmi" ]; then
echo "Creating docker container for use with Azure Key vault and managed VM identity"
sudo docker create -v "$sysfileloc":/sapcon-app/sapcon/config/system $cmdparams $sncline $httpproxyline --name "$containername" $dockerimage$tagver >/dev/null
Expand Down

0 comments on commit e262391

Please sign in to comment.