I have created a VMSS (VM scaleset) with the Azure portal, and I want to add a custom script extension to it to install some software on it. How do I do this? I have tried using azure vmss config extensions set
with a json file, but that doesn't seem to work. My json file looks like
{
"extensionProfile":{
"extensions": [
{
"name": "bigstream spark",
"properties": {
"publisher": "Microsoft.Azure.Extensions",
"type": "CustomScript",
"typeHandlerVersion": "2.0",
"autoUpgradeMinorVersion": true,
"settings": {
"fileUris": [<some files....>
],
"commandToExecute": "./installspark2.sh"
},
"protectedSettings": {
"storageAccountName": <accountname>,
"storageAccountKey": <secret>
}
}
}]
}
}