usb-0000:00:01.2-1/input0
  "   ˆl–ß=¿J	µ2ÛR‚ œP-\lò˜´oÆƒ {ÀÈ     a
    '¡Dgh  ã                   @   sœ   U d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl	m
Z
 ddlmZ ddlmZ d	eged
gdœZe
ed< e e¡Zeeeeddœdd„ZdS )zERuncmd: run arbitrary commands at rc.local with output to the consoleé    N)Úutil)ÚCloud)ÚConfig)Ú
MetaSchema)ÚALL_DISTROS)ÚPER_INSTANCEZ	cc_runcmdÚruncmd)ÚidZdistrosZ	frequencyZactivate_by_schema_keysÚmeta)ÚnameÚcfgÚcloudÚargsÚreturnc              
   C   sŽ   d|vrt  d| ¡ d S tj | d¡d¡}|d }zt |¡}t ||d¡ W n8 t	yˆ } z t
|ƒd ||¡ƒ‚W Y d }~n
d }~0 0 d S )Nr   z:Skipping module named %s, no 'runcmd' key in configurationZscriptsiÀ  z"Failed to shellify {} into file {})ÚLOGÚdebugÚosÚpathÚjoinZ	get_ipathr   ZshellifyZ
write_fileÚ	ExceptionÚtypeÚformat)r   r   r   r   Zout_fnÚcmdZcontentÚe© r   ú>/usr/lib/python3.9/site-packages/cloudinit/config/cc_runcmd.pyÚhandle%   s    ÿ
r   )Ú__doc__Zloggingr   Z	cloudinitr   Zcloudinit.cloudr   Zcloudinit.configr   Zcloudinit.config.schemar   Zcloudinit.distrosr   Zcloudinit.settingsr   r
   Ú__annotations__Z	getLoggerÚ__name__r   ÚstrÚlistr   r   r   r   r   Ú<module>	   s   	ü
     �ÊÀÈ      File not found.
  "   ˆl–äY>”jC]Šq@ŠãM\êbÑ¿ÇƒeÇÁÁÉ j    #!/usr/bin/python3
# The dnf-utils executable script.
#
# Copyright (C) 2017 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# the GNU General Public License v.2, or (at your option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY expressed or implied, including the implied warranties of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
# Public License for more details.  You should have received a copy of the
# GNU General Public License along with this program; if not, write to the
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.  Any Red Hat trademarks that are incorporated in the
# source code or documentation are not subject to the GNU General Public
# License and may only be used or replicated with the express permission of
# Red Hat, Inc.
#

from __future__ import unicode_literals
import sys
import os.path

MAPPING = {'debuginfo-install': ['debuginfo-install'],
           'needs-restarting': ['needs-restarting'],
           'find-repos-of-install': ['list', 'installed'],
           'package-cleanup': [],
           'repo-graph': ['repograph'],
           'repoclosure': ['repoclosure'],
           'repodiff': ['repodiff'],
           'repomanage': ['repomanage'],
           'repoquery': ['repoquery'],
           'reposync': ['reposync'],
           'repotrack': ['download', '--resolve', '--alldeps'],
           'yum-builddep': ['builddep'],
           'yum-config-manager': ['config-manager'],
           'yum-debug-dump': ['debug-dump'],
           'yum-debug-restore': ['debug-restore'],
           'yum-groups-manager': ['groups-manager'],
           'yumdownloader': ['download']
           }

def suppress_keyboard_interrupt_message():
    """Prevent unsightly KeyboardInterrupt tracebacks.

    Nothing will be printed to the terminal after an uncaught
    :class:`exceptions.KeyboardInterrupt`.

    """
    old_excepthook = sys.excepthook

    def new_hook(type, value, traceback):
        if type != KeyboardInterrupt:
            old_excepthook(type, value, traceback)
        else:
            pass

    sys.excepthook = new_hook


# do this ASAP to prevent tracebacks after ^C during imports
suppress_keyboard_interrupt_message()

if __name__ != "__main__":
    sys.stderr.write('The executable DNF module must not be imported.')
    sys.exit(1)

here = sys.path[0]
if here != '/usr/bin':
    # git checkout
    import os
    dn