File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/lxd_image.cpython-310.pyc
Back
o ;j* � @ sb d Z ddlmZmZ dZdZdd� Z dd d �Zddd�Zd d� Z dd� Z dd� ZdS )u� Manage LXD images. .. versionadded:: 2019.2.0 .. link: https://github.com/lxc/pylxd/blob/master/doc/source/installation.rst .. note: - :role:`pylxd <link>` version 2 is required to let this work, currently only available via pip. To install on Ubuntu: $ apt-get install libssl-dev python-pip $ pip install -U pylxd - you need lxd installed on the minion for the init() and version() methods. - for the config_get() and config_get() methods you need to have lxd-client installed. :maintainer: René Jochum <rene@jochums.at> :maturity: new :depends: python-pylxd :platform: Linux � )�CommandExecutionError�SaltInvocationErrorzrestructuredtext enZ lxd_imagec C s dt v rtS dS )z> Only load if the lxd module is available in __salt__ zlxd.version)Fzlxd module could not be loaded)�__salt__�__virtualname__� r r �I/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/lxd_image.py�__virtual__&