관리-도구
편집 파일: subscription_manager.pyc
� u��ec @ s? d d l m Z m Z d d l Z d e e f d � � YZ d S( i����( t Plugint RedHatPluginNt SubscriptionManagerc B s8 e Z d Z d Z d Z d Z d Z d � Z d � Z RS( s% subscription-manager information t subscription_managert systemt packagemanagert sysmgmts /etc/rhsm/rhsm.confs subscription-managerc C s� | j d d d d g � | j d d d d d d d d g � | j d | j � � t j d � } | j g | D] } d | ^ qq � d S( Ns /etc/rhsm/s /var/lib/rhsm/s /var/log/rhsm/rhsm.logs /var/log/rhsm/rhsmcertd.logs% subscription-manager list --installeds% subscription-manager list --availables+ subscription-manager list --all --availables$ subscription-manager list --consumeds subscription-manager identitys# subscription-manager release --shows# subscription-manager release --lists syspurpose showsH rhsm-debug system --sos --no-archive --no-subscriptions --destination %ss /etc/pki/product-default/*.pems rct cat-cert %s( t add_copy_spect add_cmd_outputt get_cmd_output_patht glob( t selft certst cert( ( sD /usr/lib/python2.7/site-packages/sos/plugins/subscription_manager.pyt setup s$ c C s# d } d } | j d | | � d S( Ns (proxy_password(\s)*=(\s)*)(.*)s \1 ********s /etc/rhsm/rhsm.conf( t do_path_regex_sub( R t passwdregt repl( ( sD /usr/lib/python2.7/site-packages/sos/plugins/subscription_manager.pyt postproc/ s ( s systemR R ( s /etc/rhsm/rhsm.conf( s subscription-manager( t __name__t __module__t __doc__t plugin_namet profilest filest packagesR R ( ( ( sD /usr/lib/python2.7/site-packages/sos/plugins/subscription_manager.pyR s ( t sos.pluginsR R R R ( ( ( sD /usr/lib/python2.7/site-packages/sos/plugins/subscription_manager.pyt <module> s