403Webshell
Server IP : 198.38.94.13  /  Your IP : 216.73.217.33
Web Server : Apache
System : Linux d4744.dxb1.stableserver.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : revivere ( 1140)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/vbox_guest.cpython-310.pyc
o

;j3�@s8dZddlZe�e�Zd
dd�Zddd�Zddd	�ZdS)
z,
VirtualBox Guest Additions installer state
�NFcCs�|iddd�}td�}|rd|d<d|d<|Std	r-d
|d<|dd�|d<d
|d<|Std||d�}d|d<||d�|d<t|�|d<|S)a�
    Ensure that the VirtualBox Guest Additions are installed. Uses the CD,
    connected by VirtualBox.

    name
        The name has no functional value and is only used as a tracking
        reference.
    reboot : False
        Restart OS to complete installation.
    upgrade_os : False
        Upgrade OS (to ensure the latests version of kernel and developer tools
        installed).
    F���name�changes�result�comment�vbox_guest.additions_versionTr�#System already in the correct stater�test�8The state of VirtualBox Guest Additions will be changed.��old�newrNzvbox_guest.additions_install)�reboot�
upgrade_os�4The state of VirtualBox Guest Additions was changed!��__salt__�__opts__�bool)rrr�ret�
current_state�	new_state�r�J/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/vbox_guest.py�additions_installed
s,

��
�rcCs�|iddd�}td�}|sd|d<d|d<|Std	r-d
|d<|dd�|d<d
|d<|Std|d�}d|d<||d�|d<t|�|d<|S)a�
    Ensure that the VirtualBox Guest Additions are removed. Uses the CD,
    connected by VirtualBox.

    To connect VirtualBox Guest Additions via VirtualBox graphical interface
    press 'Host+D' ('Host' is usually 'Right Ctrl').

    name
        The name has no functional value and is only used as a tracking
        reference.
    force
        Force VirtualBox Guest Additions removing.
    FrrrTrr	rr
rrrNzvbox_guest.additions_remove)�forcerr)rrrrrrrr�additions_removed4s(

�
�rcCs�|iddd�}td�}|dur|g}||kr!d|d<d|d	<|Std
r6d|d	<||d�|d
<d|d<|Std||d�}d|d	<||d�|d
<d|d<|S)a�
    Grant access to auto-mounted shared folders to the users.

    User is specified by its name. To grant access for several users use
    argument `users`.

    name
        Name of the user to grant access to auto-mounted shared folders to.
    users
        List of names of users to grant access to auto-mounted shared folders to.
        If specified, `name` will not be taken into account.
    Frrz$vbox_guest.list_shared_folders_usersNTrr	rr
zLList of users who have access to auto-mounted shared folders will be changedrrz,vbox_guest.grant_access_to_shared_folders_to)r�userszHList of users who have access to auto-mounted shared folders was changed)rr)rrrrrrrr�!grant_access_to_shared_folders_to\s4
�
���
�r)FF)F)N)�__doc__�logging�	getLogger�__name__�logrrrrrrr�<module>s


*(

Youez - 2016 - github.com/yon3zu
LinuXploit