MINI MINI MANI MO
ó
©=[c @ sU d d l Z d d l Z d d l m Z d d l m Z d e j f d „ ƒ YZ d S( iÿÿÿÿNi ( t base( t commandst
virt_checkc B s e Z d Z d „ Z d „ Z RS( 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).
c C s t t | ƒ j d d ƒ d S( NR i ( t superR t __init__( t self( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyR s c C se t t | ƒ j | ƒ s d S| j j d g ƒ \ } } | d k r] t | ƒ d k r] | d S| d S( Ns virt-whati i ( R R t executet Nonet _cmdt len( R t argst rett out( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyR s ( t __name__t
__module__t __doc__R R ( ( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyR s ( t ost
tuned.logst tunedt R t tuned.utils.commandsR t FunctionR ( ( ( sP /usr/lib/python2.7/site-packages/tuned/profiles/functions/function_virt_check.pyt <module> s
OHA YOOOO