Azure / azure-init

A minimal provisioning agent designed for Azure Linux VMs.
MIT License
10 stars 11 forks source link

[RFE] Send user-agent as part of header for IMDS calls #54

Closed anhvoms closed 6 months ago

anhvoms commented 7 months ago

Current situation

Currently azure-init does not set the user agent (User-Agent) string when communicating to IMDS.

Impact

Sending user agent header will make it easier to track the request from provisioning from IMDS, which will allow Azure to troubleshoot provisioning issues faster

Ideal future situation

Send user agent string as part of header. When sending requests to IMDS, send the user agent azure-init (ideally with the version) as part of the property "User-Agent"

dongsupark commented 6 months ago

Done in https://github.com/Azure/azure-init/pull/55