| Server IP : 139.59.63.204 / Your IP : 216.73.217.62 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ubuntu-s-1vcpu-1gb-blr1-01 6.8.0-110-generic #110-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 19 15:09:20 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/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 ]'