a >h@s&ddlmZmZGdddeeZdS))PluginIndependentPluginc@s,eZdZdZdZdZdZddZddZd S) CurtinzCurt InstallerZcurtin)Zboot)/root/curtin-install-cfg.yamlcCs|gddS)N)/root/curtin-install.logrz*/etc/default/grub.d/50-curtin-settings.cfgz%/etc/apt/apt.conf.d/90curtin-aptproxyz /etc/apt/sources.list.curtin.oldz//etc/cloud/cloud.cfg.d/50-curtin-networking.cfgz2/etc/cloud/cloud.cfg.d/curtin-preserve-sources.cfg)Z add_copy_spec)selfr=/usr/lib/python3.9/site-packages/sos/report/plugins/curtin.pysetupsz Curtin.setupcCs^gd}ddg}dd|d}dd|d}|D] }|||d|||dq8dS) N)Zoauth_consumer_keyZoauth_token_keyZ token_keyZ token_secretZ consumer_keyrr(|z)\s*(:|=)(\S*\n.*?\\n)z)\s*(:|=)\s*[a-zA-Z0-9]*z \1\2*********)joinZ do_file_sub)rZ protect_keysZ curtin_filesZmatch_exp_multilZ match_expfilerrr postprocszCurtin.postprocN) __name__ __module__ __qualname__Z short_descZ plugin_nameZprofilesfilesr rrrrr r s  rN)Zsos.report.pluginsrrrrrrr  s