You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/custom-data.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ Custom data is placed in *%SYSTEMDRIVE%\AzureData\CustomData.bin* as a binary fi
63
63
On Linux OS's, custom data is passed to the VM via the ovf-env.xml file, which is copied to the */var/lib/waagent* directory during provisioning. Newer versions of the Microsoft Azure Linux Agent will also copy the base64-encoded data to */var/lib/waagent/CustomData* as well for convenience.
64
64
65
65
Azure currently supports two provisioning agents:
66
-
* Linux Agent - By default the agent will not process custom data, you will need to build a custom image with it enabled. These are the relevant settings, as per the [documentation](https://github.com/Azure/WALinuxAgent#configuration):
66
+
* Linux Agent - By default the agent will not process custom data, you will need to build a custom image with it enabled. The relevant settings, as per the [documentation](https://github.com/Azure/WALinuxAgent#configuration) are:
67
67
* Provisioning.DecodeCustomData
68
68
* Provisioning.ExecuteCustomData
69
69
@@ -79,14 +79,14 @@ To troubleshoot custom data execution, review the troubleshooting [documentation
79
79
80
80
## FAQ
81
81
### Can I update custom data after the VM has been created?
82
-
For single VMs, custom data in the VM model cannot be updated, but for VMSS, you can update VMSS custom data via REST API (this will not work for the PS or AZ CLI clients). When you update custom data in the VMSS model, this will happen:
82
+
For single VMs, custom data in the VM model cannot be updated, but for VMSS, you can update VMSS custom data via REST API (this will not work for the PS or AZ CLI clients). When you update custom data in the VMSS model, the following will occur:
83
83
* Existing instances in the VMSS will not get the updated custom data, only until they are reimaged.
84
84
* Existing instances in the VMSS that are upgraded will not get the updated custom data.
85
85
* New instances will receive the new custom data.
86
86
87
87
### Can I place sensitive values in custom data?
88
-
We advise to **not** store sensitive data in custom data. For additional information see [Azure Security and encryption best practices](https://docs.microsoft.com/azure/security/fundamentals/data-encryption-best-practices).
88
+
We advise **not** to store sensitive data in custom data. For additional information, see [Azure Security and encryption best practices](https://docs.microsoft.com/azure/security/fundamentals/data-encryption-best-practices).
0 commit comments