Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /lib/python3/dist-packages/cloudinit/sources/__pycache__/ |
Upload File : |
� x[hLT � � � d Z ddlZddlZddlZddlZddlZddlmZmZm Z m Z mZmZ ddl mZmZmZmZmZ ddlmZ ddlmZmZmZmZ ddlmZ ej8 e� Zdd iZd Z dZ!dZ"e!d z Z#e"d z Z$ddiZ%dZ& G d� de � Z' G d� dejP � Z)deddfd�Z* G d� dejV � Z, G d� de,� Z-de.fd�Z/dee. fd�Z0de1fd�Z2d e.de3fd!�Z4d e.deee.e.f fd"�Z5d e.de.fd#�Z6d e,jn e,jp e#gd$�d%e1d&e e. dee' fd'�Z9e,ejt ffe-ejt ejv ffgZ<d(� Z=ed)k( r,d*Z> e? ej� e9e$e#g�+� e2� d,�� � yy)-a3 Datasource for Oracle (OCI/Oracle Cloud Infrastructure) Notes: * This datasource does not support OCI Classic. OCI Classic provides an EC2 lookalike metadata service. * The UUID provided in DMI data is not the same as the meta-data provided instance-id, but has an equivalent lifespan. * We do need to support upgrade from an instance that cloud-init identified as OpenStack. * Bare metal instances use iSCSI root, virtual machine instances do not. * Both bare metal and virtual machine instances provide a chassis-asset-tag of OracleCloud.com. � N)�Any�Dict�List� NamedTuple�Optional�Tuple)� atomic_helper�dmi�net�sources�util)� NetworkConfig)�cmdline� ephemeral�get_interfaces_by_mac�is_netfail_master)�wait_for_url�configure_secondary_nicsFzOracleCloud.comz&http://169.254.169.254/opc/v{version}/z+http://[fd00:c1::a9fe:a9fe]/opc/v{version}/z{path}/� Authorizationz Bearer Oraclei(# c �P � e Zd ZU eed<