HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //usr/lib/python3/dist-packages/cloudinit/__pycache__/features.cpython-310.pyc
o

t��h��@spdZddlZddlZddlmZdZ	dZ	dZ	dZ	dZ		dZ
	dZ	dZ	dZ
	deeeffdd	�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)�DictTFz22.1�returncCsdd�tjdj��D�S)z@Return a dict of applicable features/overrides and their values.cSs*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)rr	�__dict__�keysrrrr
�get_features�s�r)�__doc__rr�typingr�ERROR_ON_USER_DATA_FAILURE�+ALLOW_EC2_MIRRORS_ON_NON_AWS_INSTANCE_TYPES�EXPIRE_APPLIES_TO_HASHED_USERS�NETPLAN_CONFIG_ROOT_READ_ONLY�%NOCLOUD_SEED_URL_APPEND_FORWARD_SLASH�APT_DEB822_SOURCE_LIST_FILE�MANUAL_NETWORK_WAIT�STRIP_INVALID_MTU�DEPRECATION_INFO_BOUNDARY�str�boolrrrrr
�<module>s.
	
	"