KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache
System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : andertr9 ( 1047)
PHP Version : 8.2.18
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/tuned/profiles/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyc
�
��\c@sUddlZddlZddlmZddlmZdejfd��YZdS(i����Ni(tbase(tcommandst
virt_checkcBs eZdZd�Zd�ZRS(s�
	Checks whether running inside virtual machine (VM) or on bare metal.
	If running inside VM expands to argument 1, otherwise expands to
	argument 2 (even on error).
	cCstt|�jdd�dS(NRi(tsuperRt__init__(tself((sP/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyRscCsett|�j|�sdS|jjdg�\}}|dkr]t|�dkr]|dS|dS(Ns	virt-whatii(RRtexecutetNonet_cmdtlen(Rtargstrettout((sP/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyRs(t__name__t
__module__t__doc__RR(((sP/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyRs	(	tost
tuned.logsttunedtRttuned.utils.commandsRtFunctionR(((sP/usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyt<module>s

Anon7 - 2021