Open rayy3535 opened 2 months ago
Hello,
I saw that the implementation in cloud-init https://github.com/canonical/cloud-init/blob/9bcb3dce9d7abfbb7273e313d5056eda0424108f/cloudinit/url_helper.py#L427 has this format:
"User-Agent": "Cloud-Init/%s" % Cloud-Init-Version
Can you please give more information on your scenario and how the data should look like in the case of Cloudbase-Init?
Thanks.
cloudbase-init does not set http user-agent.By default, it is "python-requests" for now.
As for canonical's cloud-init, metadata server can use http user agent to adapt its response when necessary. Please consider to make cloudbase-init work more like cloud-init.
Thanks