I’m running into an interesting issue while trying to specify both vendordata and userdata. From the documentation, userdata will overwrite vendordata unless userdata is in cloud-config-jsonp format. But my testing is showing that even in this case, vendordata is still being overwritten. Please see below for findings. Am I missing something? Thanks in advance!
The documentation states: "if both vendor and user have provided ‘runcmd’ then the default merge handler will cause the user’s runcmd to override the one provided by the vendor. To append to ‘runcmd’, the user could better provide multipart input with a cloud-config-jsonp part"
#cloud-config
runcmd: