ApplicationProfile.LinuxApplicationProfile [SPFSDK][VMROLE]
Applies To: Windows Azure Pack
The ApplicationProfile.LinuxApplicationProfile object provides settings to configure a Linux-based virtual machine when it is provisioned.
ResourceExtension [SPFSDK][VMROLE].ExtensionSettings [SPFSDK][VMROLE].ApplicationProfile.LinuxApplicationProfile
{
"ApplicationProfile": {
...
"LinuxApplicationProfile": {
"RunOnceCommands": [
"string"
"string"
"string"
...
]
}
}
}
Name | Type | Required | Default value | Description |
|---|---|---|---|---|
RunOnceCommands | Array of String | No | None | An array of commands to run during the provisioning of the Linux-based virtual machine. These commands are run in the order in which they are declared. |
The following code example provides a sample ApplicationProfile.LinuxApplicationProfile object.
{
"ApplicationProfile": {
"Name": "ApplicationProfile1",
"ApplicationPayload": [
{
"ID": "49c1ccdb-9068-4b91-9409-0a7ca8a1d291",
"RelativePath": "./sharepointfiles"
}
],
"LinuxApplicationProfile": {
"RunOnceCommands": [
"ifconfig"
]
}
}
}
Show: