aloof-spoon-46068
03/20/2019, 5:38 PMcustomData
field for an Azure VM, but I’m unsure as to how to provide the data. I tried just using a filename of a cloud-init file I have in the local directory (i.e. customData: "cloud-init.txt"
, but after I boot the VM it shows the field with customData: ""
Do I have to specify it a different way?white-balloon-205
customData
- which you could read out of the file on disk with fs.readFileSync('cloud-init.txt')
for example.
You can see an example of this here: https://github.com/pulumi/examples/blob/master/azure-js-webserver/index.js#L50aloof-spoon-46068
03/20/2019, 7:58 PM