mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add more whiptail menus
This commit is contained in:
@@ -2440,8 +2440,8 @@ securityonion_repo() {
|
||||
# update this package because the repo config files get added back
|
||||
# if the package is updated when the update_packages function is called
|
||||
logCmd "yum -v -y update centos-release"
|
||||
echo "Move the .repo files that were added by the centos-release package."
|
||||
find /etc/yum.repos.d/ -type f -not -name 'securityonion*repo' -print0 | xargs -0 -I {} mv -bvf {} /root/oldrepos/
|
||||
echo "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 "yum repolist all"
|
||||
fi
|
||||
else
|
||||
|
||||
@@ -112,6 +112,9 @@ if [[ $is_analyst ]]; then
|
||||
fi
|
||||
else
|
||||
if whiptail_analyst_nongrid_network; then
|
||||
echo ""
|
||||
echo ""
|
||||
echo "Kicking off the automated setup of the analyst workstation. This can take a while depending on your network connection."
|
||||
analyst_salt_local
|
||||
else
|
||||
# Abort!
|
||||
|
||||
Reference in New Issue
Block a user