Current File : //usr/lib/python3/dist-packages/uaclient/__pycache__/actions.cpython-312.pyc |
�
��g�8 � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZm Z d dl
mZmZm
Z
mZmZmZmZmZ d dl
mZ d dl
mZmZ d dl
mZ d dl
mZmZmZ d dlmZmZmZm Z d d l!m"Z"m#Z# d d
l$m%Z%m&Z&m'Z'm(Z(m)Z) ejT � Z+ ejX ejZ e.� � Z/dZ0dZ1d
e
jd dejf de j fd�Z4 d-d
e
jd deejj dejf de j de6f
d�Z7 d-d
e
jd de8de6de6ddf
d�Z9 d.d
e
jd dejt ddfd�Z;ddddd�d
e
jd de8de6de8de6d e ee8 fd!�Z<ddd"�d
e
jd d#e e8 d$e6fd%�Zd&e8ddfd'�Z= d/d&e8d(e ee> ddfd)�Z?d
e
jd fd*�Z@d
e
jd d+e8fd,�ZAy)0� N)�List�Optional)�api�clouds�config�contract�entitlements�event_logger�
exceptions� livepatch)�log)�messages�secret_manager)�status)�system�timer�util)�APPARMOR_PROFILES�CLOUD_BUILD_INFO�DEFAULT_CONFIG_FILE�DEFAULT_LOG_PREFIX)�
machine_token�notices)�AttachmentData�attachment_data_file�machine_id_file�only_series_check_marker_file�timer_jobs_state_file)zapt-news.servicezesm-cache.servicezua-timer.servicezua-timer.timerzua-auto-attach.pathzua-auto-attach.servicezua-reboot-cmds.servicezubuntu-advantage.service�
�cfg�contract_client�attached_atc � � ddl m} t j t |�� � t j | �� || � |j � y )Nr ��update_motd_messages�r"