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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user