зеркало из
1
0
Форкнуть 0
azure-quickstart-templates/101-vm-customdata
kenazk 1e5097d4be Adding customdata template 2015-04-27 16:38:09 -07:00
..
README.md Adding customdata template 2015-04-27 16:38:09 -07:00
azuredeploy-parameters.json Adding customdata template 2015-04-27 16:38:09 -07:00
azuredeploy.json Adding customdata template 2015-04-27 16:38:09 -07:00
metadata.json Adding customdata template 2015-04-27 16:38:09 -07:00

README.md

Deploy a Virtual Machine with CustomData

This template allows you to create a Virtual Machine with Custom Data. This template also deploys a Storage Account, Virtual Network, Public IP addresses and a Network Interface.

Below are the parameters that the template expects

Name Description
newStorageAccountName Unique DNS Name for the Storage Account where the Virtual Machine's disks will be placed.
adminUsername Username for the Virtual Machines
adminPassword Password for the Virtual Machine
customData Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. In Linux VMs, The base-64 encoded string is located in the ovf-env.xml file on the ISO of the Virtual Machine. The file is copied to /var/lib/waagent/ovf-env.xml by the Azure Linux Agent. The agent will also place the base-64 encoded data in /var/lib/waagent/CustomData during provisioning. In Windows VMs, the file is saved to %SYSTEMDRIVE%\AzureData\CustomData.bin. If the file exists, it is overwritten. The security on directory is set to System:Full Control and Administrators:Full Control.
dnsNameForPublicIP Unique DNS Name for the Public IP used to access the Virtual Machine.
subscriptionId Subscription ID where the template will be deployed
vmSourceImageName Source Image Name for the VM. Example: b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-12_04_5-LTS-amd64-server-20140927-en-us-30GB
location location where the resources will be deployed
virtualNetworkName Name of Virtual Network
vmSize Size of the Virtual Machine
vmName Name of Virtual Machine
publicIPAddressName Name of Public IP Address Name
nicName Name of Network Interface