azure-powershell
azure-powershell copied to clipboard
URL as Variable in CustomScriptforLinux
Trying to use CustomScriptforLinux for ARM VM's and need to be able to define the fileUris as a Variable but unable to do so.
See: https://github.com/Azure/azure-linux-extensions/tree/master/CustomScript
In section 2.2.2 Resource Manager
$PublicConf = '{
"fileUris": ["
I would like to be able to do something like this but keep running into syntax error:
$FileUris = "
$PublicConf = '{
"fileUris": ["$FileUris"],
"commandToExecute": "
@Vijayaraghavanl This is not the appropriate repo for this question - please file this issue in https://github.com/Azure/azure-linux-extensions