Merge "Update get_repos_info function"

This commit is contained in:
Zuul
2026-03-09 14:22:31 +00:00
committed by Gerrit Code Review

View File

@@ -260,7 +260,7 @@ function log_instance_info {
}
function get_repos_info {
for i in /etc/apt/sources.list /etc/apt/sources.list.d/* /etc/yum.conf /etc/yum.repos.d/* /etc/zypp/repos.d/*; do
for i in /etc/apt/sources.list /etc/apt/sources.list.d/* /etc/dnf/dnf.conf /etc/yum.repos.d/*; do
if [ -f "${i}" ]; then
echo -e "\n$i"
cat $i