mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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
|
# update this package because the repo config files get added back
|
||||||
# if the package is updated when the update_packages function is called
|
# if the package is updated when the update_packages function is called
|
||||||
logCmd "yum -v -y update centos-release"
|
logCmd "yum -v -y update centos-release"
|
||||||
echo "Move the .repo files that were added by the centos-release package."
|
echo "Backing up 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/
|
logCmd "find /etc/yum.repos.d/ -type f -not -name 'securityonion*repo' -print0 | xargs -0 -I {} mv -bvf {} /root/oldrepos/"
|
||||||
logCmd "yum repolist all"
|
logCmd "yum repolist all"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -112,6 +112,9 @@ if [[ $is_analyst ]]; then
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if whiptail_analyst_nongrid_network; then
|
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
|
analyst_salt_local
|
||||||
else
|
else
|
||||||
# Abort!
|
# Abort!
|
||||||
|
|||||||
Reference in New Issue
Block a user