azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

URL as Variable in CustomScriptforLinux

Open Vijayaraghavanl opened this issue 10 years ago • 1 comments

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": [""], "commandToExecute": "" }'

I would like to be able to do something like this but keep running into syntax error:

$FileUris = ""

$PublicConf = '{ "fileUris": ["$FileUris"], "commandToExecute": "" }'

Vijayaraghavanl avatar Jan 12 '16 17:01 Vijayaraghavanl

@Vijayaraghavanl This is not the appropriate repo for this question - please file this issue in https://github.com/Azure/azure-linux-extensions

markcowl avatar Jan 14 '16 20:01 markcowl