| Server IP : 65.1.209.187 / Your IP : 216.73.216.144 Web Server : nginx/1.24.0 System : Linux ip-172-31-5-206 6.14.0-1015-aws #15~24.04.1-Ubuntu SMP Tue Sep 23 22:44:48 UTC 2025 x86_64 User : ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/cloudinit/sources/__pycache__/ |
Upload File : |
�
쑛h�C � � � d Z ddlZddlZddlZddlmZ ddlmZmZmZ ddl Z ddl
mZmZm
Z
ddlmZ ddlmZ ddlmZ ej( e� Zd Zd
ZdZdZd
ZdZdZdefd�Zdee fd�Z defd�Z!defd�Z"dedee fd�Z#dee fd�Z$ G d� d� Z%dedee& fd�Z'dedede&fd�Z(dededeee% ee% f fd�Z)d ee% d!ee% dee fd"�Z*d#efd$�Z+ G d%� d&ejX � Z-e-ej\ ffgZ/d'� Z0y)(z?Datasource to support the Windows Subsystem for Linux platform.� N)�PurePath)�List�Optional�Tuple)�sources�subp�util)�Distro)�type_from_starts_with)�Pathsz/usr/bin/wslpathziid-datasource-wsl�%s.user-dataz
agent.yaml� landscape�client�installation_request_id�returnc � � t j t ddg� \ } }t | j � � j S )zL
Returns the name of the current WSL instance as seen from outside.
z-am�/)r �WSLPATH_CMDr �rstrip�name)�
root_net_path�_s �A/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceWSL.py�
instance_namer ! s8 � � �y�y�+�u�c�!:�;��M�1��M�(�(�*�+�0�0�0� c � � d} d}g }t j � j � D ]'