/usr/lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__
NameSizeModeActions
akamai.cpython-310.pyc15250644editdlrm
aliyun.cpython-310.pyc43310644editdlrm
azure.cpython-310.pyc328940644editdlrm
cloudsigma.cpython-310.pyc35730644editdlrm
digitalocean.cpython-310.pyc59550644editdlrm
ec2.cpython-310.pyc60690644editdlrm
hetzner.cpython-310.pyc11750644editdlrm
netlink.cpython-310.pyc97260644editdlrm
openstack.cpython-310.pyc185710644editdlrm
upcloud.cpython-310.pyc55510644editdlrm
vultr.cpython-310.pyc54130644editdlrm
__init__.cpython-310.pyc1610644editdlrm
Edit: /usr/lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__/akamai.cpython-310.pyc (1525B)
o ƒtÖhÈã@s€ddlZddlmZmZmZmZddlmZdddddd d œZd ee ee e fffd d „Z d e fdd„Z d ee fdd„Z dS)éN)ÚAnyÚDictÚOptionalÚUnion)ÚdmiÚallow_local_stageÚallow_init_stageÚ allow_dhcpÚ allow_ipv4Ú allow_ipv6Úpreferred_mac_prefixes)ÚalsÚaisÚdhcpÚv4Úv6ÚpmpÚreturncCsnt d¡}i}|s |St d|¡D]#\}}}|tvr4|dvr%tt|ƒƒ}n |dkr.| d¡}||t|<q|S)zH Parses flags from dmi data and updates self.ds_cfg accordingly zbaseboard-serial-numberz([a-z0-9]+)=(.*?)(;|$)Ú01rú,)rÚ read_dmi_dataÚreÚfindallÚDMI_OVERRIDE_MAPÚboolÚintÚsplit)Ú dmi_flagsÚretÚkeyÚvalueÚ_©r"úB/usr/lib/python3/dist-packages/cloudinit/sources/helpers/akamai.pyÚget_dmi_configs   €r$cCst d¡}|dvS)zo Reads the BIOS vendor from dmi data to determine if we are running in the Akamai Connected Cloud. zsystem-manufacturer)ÚLinodeÚAkamai©rr)Úvendorr"r"r#Ú is_on_akamai(s r)cCs t d¡S)zo Returns the instance id read from dmi data without requiring the metadata service to be reachable zsystem-serial-numberr'r"r"r"r#Úget_local_instance_id1s r*)rÚtypingrrrrÚ cloudinitrrÚstrrr$r)r*r"r"r"r#Ús ú