| Server IP : 138.197.162.186 / Your IP : 216.73.216.184 Web Server : nginx/1.24.0 System : Linux ubuntu-s-1vcpu-512mb-10gb-tor1 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : www-data ( 33) 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 : |
�
x[ht9 � �� � d Z ddlZddlZddlZddlmZ ddlmZmZmZ ddl Z ddl
mZmZm
Z
ddlmZ ddlmZ ddlmZ ej( e� Zd Zd
ZdZdZd
efd�Zd
ee fd�Zd
efd�Zd
efd�Zded
ee fd�Z d
ee fd�Z! G d� d� Z"dee ded
e#fd�Z$ded
eee" ee" f fd�Z%dee" dee" d
ee fd�Z& G d� dejN � Z(e(ejR ffgZ*d � Z+y)!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�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 ]'