/usr/lib/python3.6/site-packages/cloudinit/sources/helpers/__pycache__
NameSizeModeActions
akamai.cpython-36.opt-1.pyc14840644editdlrm
akamai.cpython-36.pyc14840644editdlrm
azure.cpython-36.opt-1.pyc342340644editdlrm
azure.cpython-36.pyc342340644editdlrm
cloudsigma.cpython-36.opt-1.pyc33720644editdlrm
cloudsigma.cpython-36.pyc33720644editdlrm
digitalocean.cpython-36.opt-1.pyc60990644editdlrm
digitalocean.cpython-36.pyc60990644editdlrm
ec2.cpython-36.opt-1.pyc58930644editdlrm
ec2.cpython-36.pyc58930644editdlrm
hetzner.cpython-36.opt-1.pyc7790644editdlrm
hetzner.cpython-36.pyc7790644editdlrm
netlink.cpython-36.opt-1.pyc91880644editdlrm
netlink.cpython-36.pyc97910644editdlrm
openstack.cpython-36.opt-1.pyc179630644editdlrm
openstack.cpython-36.pyc179630644editdlrm
upcloud.cpython-36.opt-1.pyc54780644editdlrm
upcloud.cpython-36.pyc54780644editdlrm
vultr.cpython-36.opt-1.pyc49160644editdlrm
vultr.cpython-36.pyc49160644editdlrm
__init__.cpython-36.opt-1.pyc1130644editdlrm
__init__.cpython-36.pyc1130644editdlrm
Edit: /usr/lib/python3.6/site-packages/cloudinit/sources/helpers/__pycache__/akamai.cpython-36.pyc (1484B)
3 \¼meÈã@s€ddlZddlmZmZmZmZddlmZdddddd d œZee ee e ffd œd d „Z e d œdd„Z ee d œdd„Z dS)éN)ÚAnyÚDictÚOptionalÚUnion)ÚdmiZallow_local_stageZallow_init_stageZ allow_dhcpZ allow_ipv4Z allow_ipv6Zpreferred_mac_prefixes)ZalsZaisZdhcpZv4Zv6Úpmp)ÚreturncCsrtjdƒ}i}|s|SxVtjd|ƒD]F\}}}|tkr$|dkrLtt|ƒƒ}n|dkr^|jdƒ}||t|<q$W|S)zH Parses flags from dmi data and updates self.ds_cfg accordingly zbaseboard-serial-numberz([a-z0-9]+)=(.*?)(;|$)Z01rú,)rÚ read_dmi_dataÚreÚfindallÚDMI_OVERRIDE_MAPÚboolÚintÚsplit)Z dmi_flagsÚretÚkeyÚvalueÚ_©rú/usr/lib/python3.6/akamai.pyÚget_dmi_configs  rcCstjdƒ}|dkS)zo Reads the BIOS vendor from dmi data to determine if we are running in the Akamai Connected Cloud. zsystem-manufacturerÚLinodeÚAkamai)rr)rr )ZvendorrrrÚ is_on_akamai(s rcCs tjdƒS)zo Returns the instance id read from dmi data without requiring the metadata service to be reachable zsystem-serial-number)rr rrrrÚget_local_instance_id1sr)r ZtypingrrrrZ cloudinitrr ÚstrrrrrrrrrÚs