Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
304 stars 252 forks source link

Update OS Distro/Version Parsing #1863

Closed aswatt closed 8 months ago

aswatt commented 8 months ago

OS parsing was slightly out of date, relying on functions that were deprecated in later Python versions, as well as breaking on some local builds of Python. These changes mimic the ones made in AMA a while back.

AMA PR: #1249 AMA code reference: azure-linux-extensions/AzureMonitorAgent/agent.py