HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/cloudinit/config/__pycache__/cc_timezone.cpython-310.pyc
o

�Ad��@s�UdZddlmZddlmZddlmZddlmZddl	m
Z
mZddlm
Z
ddlmZd	Zd
ddee
ged
gdgd�Ze
ed<ee�Zdedededededdfdd�ZdS)z!Timezone: Set the system timezone�)�Logger)�util)�Cloud)�Config)�
MetaSchema�get_meta_doc)�ALL_DISTROS)�PER_INSTANCEz6Sets the system timezone based on the value provided.
�cc_timezone�TimezonezSet the system timezoneztimezone: US/Eastern�timezone)�id�name�title�description�distros�	frequency�examples�activate_by_schema_keys�metar�cfg�cloud�log�args�returnNcCsHt|�dkr|d}nt�|dd�}|s|�d|�dS|j�|�dS)NrrFz1Skipping module named %s, no 'timezone' specified)�lenr�get_cfg_option_str�debug�distro�set_timezone)rrrrrr�r �>/usr/lib/python3/dist-packages/cloudinit/config/cc_timezone.py�handle's
r")�__doc__�loggingr�	cloudinitr�cloudinit.cloudr�cloudinit.configr�cloudinit.config.schemarr�cloudinit.distrosr�cloudinit.settingsr	�MODULE_DESCRIPTIONr�__annotations__�str�listr"r r r r!�<module>sB��
������