403Webshell
Server IP : 159.223.102.202  /  Your IP : 216.73.217.92
Web Server : nginx/1.26.0
System : Linux Gen1-cloudpanel2ubuntu2404-1vcpu-1gb-nyc1-01 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User : albasshbotta ( 1021)
PHP Version : 8.2.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/cloudinit/config/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/cloudinit/config/__pycache__/cc_keyboard.cpython-312.pyc
�

�f�	�
�8�UdZddlZddlmZddlmZddlmZddlm	Z	ddl
mZmZddl
mZd	Zej j#gd
��Zddd
deed�ed�ed�gedgd�Zeed<ee�Zej*e�Zdede	dededdf
d�Zy)zkeyboard: set keyboard layout�N)�dedent)�distros)�Cloud)�Config)�
MetaSchema�get_meta_doc)�PER_INSTANCE�pc105)�alpine�arch�debian�redhat�suse�cc_keyboard�KeyboardzSet keyboard layoutzHandle keyboard configuration.ze            # Set keyboard layout to "us"
            keyboard:
              layout: us
            z�            # Set specific keyboard layout, model, variant, options
            keyboard:
              layout: de
              model: pc105
              variant: nodeadkeys
              options: compose:rwin
            z�            # For Alpine Linux set specific keyboard layout and variant,
            # as used by setup-keymap. Model and options are ignored.
            keyboard:
              layout: gb
              variant: gb-extd
            �keyboard)�id�name�title�descriptionr�examples�	frequency�activate_by_schema_keys�metar�cfg�cloud�args�returnc��d|vrtjd|�y|d}|d}|jjdk(r|j	dd�}n|j	dt
�}|j	dd�}|j	dd�}tjd	|�|jj
||||�y)
Nrz5Skipping module named %s, no 'keyboard' section found�layoutr�model��variant�optionszSetting keyboard layout to '%s')�LOG�debug�distror�get�DEFAULT_KEYBOARD_MODEL�
set_keymap)	rrrr�kb_cfgr r!r#r$s	         �>/usr/lib/python3/dist-packages/cloudinit/config/cc_keyboard.py�handler-Hs�������	�	�C�T�	
�	�
��_�F�
�H�
�F��|�|���H�$��
�
�7�B�'���
�
�7�$:�;���j�j��B�'�G��j�j��B�'�G��I�I�/��8�	�L�L���F�E�7�G�<�)�__doc__�logging�textwrapr�	cloudinitr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemarr�cloudinit.settingsr	r)�Distro�expand_osfamily�supported_distrosr�__annotations__�	getLogger�__name__r%�str�listr-�r.r,�<module>r@s���$����!�#�<�+�!���N�N�2�2�2���
��
"�3� ��
�	
�	�
�		
�	�
�	
�%�8� *�|�G$��j�$�N�t�
���g����!��=��=�6�=�%�=�t�=��=r.

Youez - 2016 - github.com/yon3zu
LinuXploit