o i©¹dvã@s&ddlmZmZGdd„deeƒZdS)é)ÚPluginÚ RedHatPluginc@s0eZdZdZdZdZdZdZdd„Zdd „Z d S) ÚAnacondazAnaconda installerÚanaconda)Úsystem)r)z/var/log/anaconda.logú/var/log/anacondacCs6dg}| d¡r| d¡n|gd¢}| |¡dS)Nú/root/anaconda-ks.cfgr)z/var/log/anaconda.*z/root/install.logz/root/install.log.syslog)Ú path_isdirÚappendÚ add_copy_spec)ÚselfÚpaths©rú=/usr/lib/python3/dist-packages/sos/report/plugins/anaconda.pyÚsetups ÿ   zAnaconda.setupcCs | ddd¡| ddd¡dS)Nrz(\s*rootpw\s*).*z \1********z(user.*--password=*\s*)\s*(\S*))Ú do_file_sub)r rrrÚpostproc+sýýzAnaconda.postprocN) Ú__name__Ú __module__Ú __qualname__Ú short_descÚ plugin_nameÚprofilesÚpackagesÚfilesrrrrrrr s rN)Úsos.report.pluginsrrrrrrrÚs