Add more logging to setup process

This commit is contained in:
Mike Reeves committed 2022-09-12 15:06:29 -04:00
1 parent a168aa8b81
commit f555846544
3 files changed
+20 -21

No files matched your search

+1 -1
View File
@@ -1868,7 +1868,7 @@ securityonion_repo() {
# if the package is updated when the update_packages function is called
logCmd "yum -v -y update centos-release"
info "Backing up the .repo files that were added by the centos-release package."
logCmd "find /etc/yum.repos.d/ -type f -not -name 'securityonion*repo' -print0 | xargs -0 -I {} mv -bvf {} /root/oldrepos/"
logCmd "find /etc/yum.repos.d/ -type f -not -name 'securityonion*repo' -exec mv -bvf {} /root/oldrepos/ \;"
logCmd "yum repolist all"
fi
}