Skip to content

Commit

Permalink
Update sapcon-sentinel-kickstart.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
dvir-ms authored Sep 7, 2023
1 parent 36c2ef9 commit edee3c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 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 @@ -787,6 +791,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 edee3c4

Please sign in to comment.