%PDF- %PDF-
Direktori : /lib/python3/dist-packages/cloudinit/sources/__pycache__/ |
Current File : //lib/python3/dist-packages/cloudinit/sources/__pycache__/DataSourceWSL.cpython-312.pyc |
� ���f|9 � �� � 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 ]'