cloud-init
cloud-init copied to clipboard
azure: fix header logic
My previous change #5218 introduced a bug where IMDS request is missing Cloud-Init UserAgent and contains python-requests UserAgent instead.
This PR attaches Cloud-Init UserAgent string to headers list in case headers_cb is passed as an argument to readurl function.