Last active
March 8, 2017 13:13
-
-
Save marrobi/f4beff75476543d038e318d01403b923 to your computer and use it in GitHub Desktop.
GeoServer Custom Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "CustomScript", | |
"type": "extensions", | |
"location": "[resourceGroup().location]", | |
"apiVersion": "2016-03-30", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Compute/virtualMachines', variables('vmName'))]" | |
], | |
"tags": { | |
"displayName": "CustomScript" | |
}, | |
"properties": { | |
"publisher": "Microsoft.Azure.Extensions", | |
"type": "CustomScript", | |
"typeHandlerVersion": "2.0", | |
"autoUpgradeMinorVersion": true, | |
"settings": { | |
"fileUris": [ | |
"[concat(parameters('_artifactsLocation'), '/', 'autopart.sh', parameters('_artifactsLocationSasToken'))]", | |
"[concat(parameters('_artifactsLocation'), '/', 'copy_media.sh', parameters('_artifactsLocationSasToken'))]" | |
], | |
"commandToExecute": "[concat('bash mount_shares.sh ',parameters('dataDirPath'),' ',parameters('dataDirUsername'),' ',parameters('dataDirPassword'))]" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment