MOON
Server: Apache
System: Linux vps.erhabenn.com.br 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User: machen (1008)
PHP: 8.2.31
Disabled: NONE
Upload Files
File: //usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyc
�
d�bc@sKddlZddljjjZddlmZdefd��YZdS(i����N(t
DefaultOSUtilt
CoreOSUtilcBs�eZd�Zed��Zd�Zd�Zd�Zd
d
d
d�Z	d�Z
d�Zd�Zd	�Z
d
�Zd�Zd�ZRS(cCs�tt|�j�d|_d|_d|_t|_dtj	kredj
tj	d|j�}n	|j}|tj	d<dtj	kr�tj	d}dj
||j�}n	|j}|tj	d<dS(Ns/usr/share/oem/waagent.confs/usr/share/oem/bin/waagents/usr/share/oem/python/bintPATHs{0}:{1}t
PYTHONPATH(tsuperRt__init__tagent_conf_file_pathtwaagent_pathtpython_pathtTruetjit_enabledtostenvirontformat(tselftpathtpy_path((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyRs					

	cCsdS(Ns/usr/share/oem/bin((((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytget_agent_bin_path-scCs&|dkrtStt|�j|�S(Ntcore(tFalseRRtis_sys_user(Rtusername((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyR1scCstS(N(R	(R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytis_dhcp_enabled7scCstjddt�S(Ns systemctl start systemd-networkdtchk_err(t	shellutiltrunR(R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyt
start_network:scCstjd�dS(Ns"systemctl restart systemd-networkd(RR(Rtifnametretriestwait((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyt
restart_if=scCsdS(N((R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytrestart_ssh_service@scCstjddt�S(Nssystemctl stop systemd-networkdR(RRR(R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytstop_dhcp_serviceDscCstjddt�S(Ns systemctl start systemd-networkdR(RRR(R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytstart_dhcp_serviceGscCstjdj|j�dt�S(Nssystemctl start {0}R(RRR
tservice_nameR(R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytstart_agent_serviceJscCstjdj|j�dt�S(Nssystemctl stop {0}R(RRR
R"R(R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytstop_agent_serviceMscCs|jdddddg�S(Nt	systemctltshows-ptMainPIDssystemd-networkd(t
_get_dhcp_pid(R((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pytget_dhcp_pidPscCsdS(N((Rtdisable_password((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyt	conf_sshdSsN(t__name__t
__module__RtstaticmethodRRRRtNoneRRR R!R#R$R)R+(((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyRs										(Rt&azurelinuxagent.common.utils.shellutiltcommontutilsRt%azurelinuxagent.common.osutil.defaultRR(((sH/usr/lib/python2.7/site-packages/azurelinuxagent/common/osutil/coreos.pyt<module>s