| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/lib/python3/dist-packages/cloudinit/__pycache__/ |
Upload File : |
U
��0h � @ sZ d Z ddlZddlZddlmZ dZdZdZdZdZ dZ
dZdZee
ef d�dd �ZdS )
a?
Feature flags are used as a way to easily toggle configuration
**at build time**. They are provided to accommodate feature deprecation and
downstream configuration changes.
Currently used upstream values for feature flags are set in
``cloudinit/features.py``. Overrides to these values should be
patched directly (e.g., via quilt patch) by downstreams.
Each flag should include a short comment regarding the reason for
the flag and intended lifetime.
Tests are required for new feature flags, and tests must verify
all valid states of a flag, not just the default state.
� N)�DictTFz20.1)�returnc C s dd� t jd j�� D �S )z@Return a dict of applicable features/overrides and their values.c S s* i | ]"}t �d |�r|ttjd |��qS )z^[_A-Z0-9]+$�cloudinit.features)�re�match�getattr�sys�modules)�.0�k� r �4/usr/lib/python3/dist-packages/cloudinit/features.py�
<dictcomp>� s � z get_features.<locals>.<dictcomp>r )r r �__dict__�keysr r r r
�get_features� s �r )�__doc__r r �typingr ZERROR_ON_USER_DATA_FAILUREZ+ALLOW_EC2_MIRRORS_ON_NON_AWS_INSTANCE_TYPESZEXPIRE_APPLIES_TO_HASHED_USERSZNETPLAN_CONFIG_ROOT_READ_ONLYZ%NOCLOUD_SEED_URL_APPEND_FORWARD_SLASHZAPT_DEB822_SOURCE_LIST_FILEZMANUAL_NETWORK_WAITZDEPRECATION_INFO_BOUNDARY�str�boolr r r r r
�<module> s
#