Update get_repos_info function

Path to dnf.conf updated and remove /etc/zypp/repos.d/*

Change-Id: I93f2f5fd5b1f44e21372bcac3852ee8c09ce2bdb
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
This commit is contained in:
Ivan Anfimov
2025-12-28 17:05:26 +00:00
parent 621eee2eb8
commit b57637c8b5

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