当我尝试使用扩展名执行azure模板时?我收到以下错误?

时间:2016-10-03 13:21:25

标签: azure-resource-manager

新增 - AzureRmResourceGroupDeployment:5:33:31 PM - 资源Microsoft.Compute / virtualMachines / extensions'dataLin1030Vm / script' 失败了消息

{
"status": "Failed",
"error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [{
        "code": "VMExtensionProvisioningError",
        "message": "VM has reported a failure when processing extension 'script'. Error message: \"Script returned an
        error.\n-- - stdout-- - \n\ n-- - errout-- - \nhg - mysql - mongo - instalation.sh: 6: hg - mysql - mongo - instalation.sh: Syntax error: newline unexpected\ n\ n\ "."
    }]
}
}