%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/modules/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/modules/guestfs.pyo

�
���^c@@s�dZddlmZmZmZddlZddlZddlZddlZddl	Z
eje�Z
d�Zddd�ZdS(uO
Interact with virtual machine images via libguestfs

:depends:   - libguestfs
i(tabsolute_importtunicode_literalstprint_functionNcC@s#tjjjd�rdStdfS(u?
    Only load if libguestfs python bindings are installed
    u
guestmountuguestfsuMThe guestfs execution module cannot be loaded: guestmount binary not in path.(tsalttutilstpathtwhichtFalse(((s8/usr/lib/python2.7/site-packages/salt/modules/guestfs.pyt__virtual__surwcC@s\|dkrUtjjtj�d|jtj�jdd��}t	j
d|�ntjj|�s�ytj|�Wq�t
k
r�q�Xnx�tr.tj|�r*tttjdd��}|tjd��j�}tjjtj�d|jtj�jdd�|�}t	j
d|�q�Pq�Wd	j|||�}td
|dt�|S(
uz
    Mount an image

    CLI Example:

    .. code-block:: bash

        salt '*' guest.mount /srv/images/fedora.qcow
    uguestu/u.u
Using root %su	hash_typeumd5i uEstablishing new root as %suguestmount -i -a {0} --{1} {2}ucmd.runtpython_shellN(tNonetosRtjointtempfilet
gettempdirtlstriptseptreplacetlogtdebugtisdirtmakedirstOSErrortTruetlistdirtgetattrthashlibt__opts__tgetturandomt	hexdigesttformatt__salt__R(tlocationtaccesstroott	hash_typetrandtcmd((s8/usr/lib/python2.7/site-packages/salt/modules/guestfs.pytmounts0
		!
			%(t__doc__t
__future__RRRRR
Rtloggingtsalt.utils.pathRt	getLoggert__name__RRR
R'(((s8/usr/lib/python2.7/site-packages/salt/modules/guestfs.pyt<module>s		

Zerion Mini Shell 1.0