MOON
Server: Apache
System: Linux server.royaltuning.hu 4.18.0-425.13.1.el8_7.x86_64 #1 SMP Tue Feb 21 04:20:52 EST 2023 x86_64
User: royaltuning (1001)
PHP: 8.2.32
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib/python3.6/site-packages/cloudinit/config/__pycache__/cc_locale.cpython-36.pyc
3

\�meo�	@s�UdZddlZddlmZddlmZddlmZddlm	Z	ddl
mZmZddl
mZd	gZd
dded
�eed�ed�gegd�Zeee�Zeje�Zee	eedd�dd�ZdS)zLocale: set system locale�N)�dedent)�util)�Cloud)�Config)�
MetaSchema�get_meta_doc)�PER_INSTANCE�allZ	cc_localeZLocalezSet system localez|        Configure the system locale and apply it system wide. By default use
        the locale specified by the datasource.zL            # Set the locale to ar_AE
            locale: ar_AE
            z�            # Set the locale to fr_CA in /etc/alternate_path/locale
            locale: fr_CA
            locale_configfile: /etc/alternate_path/locale
            )�id�name�title�description�distrosZexamplesZ	frequencyZactivate_by_schema_keys)r�cfg�cloud�args�returncCsnt|�dkr|d}ntj|d|j��}tj|�rDtjd||�dStjd|�tj|d�}|jj||�dS)Nr�localez0Skipping module named %s, disabled by config: %szSetting locale to %sZlocale_configfile)	�lenrZget_cfg_option_strZ
get_localeZis_false�LOG�debugZdistroZapply_locale)rrrrrZlocale_cfgfile�r�/usr/lib/python3.6/cc_locale.py�handle7s


r)�__doc__Zlogging�textwraprZ	cloudinitrZcloudinit.cloudrZcloudinit.configrZcloudinit.config.schemarrZcloudinit.settingsrr�metaZ	getLogger�__name__r�str�listrrrrr�<module>	s.