I am trying to execute multiple shell scripts by separating each command using \'&&\' using Azure Custom Extension script for Linux.
ARM templates is the deploy
ARM template Snippet
cmdToExecute = script1.sh param1 param2 && script2.sh param1 param2 && script3.sh is passed as a string to a wrapper script like
"commandToExecute" : "[concat('sh script_executor.sh \"', parameters('cmdToExecute') '\"')]"
script_executor.sh -- takes all commands as parameters and executes each command