File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/virt.cpython-310.pyc
Back
o ;j6@ � @ s( d Z ddlZddlZddlZddlZddlZddlZddlZddl m Z mZ zddlZdZ W n ey9 dZ Y nw dZe�e�Zdd� Zd-d d�Z d.dd �Zd/dd�Zd/dd�Z d0dd�Z d1dd�Zd.dd�Zd/dd�Zdd� Zd2dd�Z d3dd�Z d4d d!�Z d4d"d#�Z h d$�Z! d5d%d&�Z" d5d'd(�Z#d6d)d*�Z$ d7d+d,�Z%dS )8z� Manage virt =========== For the key certificate this state uses the external pillar in the master to call for the generation and signing of certificates for systems running libvirt: .. code-block:: yaml libvirt_keys: virt.keys � N)�CommandExecutionError�SaltInvocationErrorTFZvirtc C s dt v rtS dS )z9 Only if virt module is available. :return: zvirt.node_info)Fzvirt module could not be loaded)�__salt__�__virtualname__� r r �D/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/virt.py�__virtual__% s r �/etc/pkic K s | i ddd�}i }|� � D ]\}}||d|� �<