HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/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.