mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Fix formatting
This commit is contained in:
@@ -1978,19 +1978,6 @@ saltify() {
|
||||
systemctl enable salt-master >> "$setup_log" 2>&1
|
||||
;;
|
||||
*)
|
||||
#if [ "$MANAGERUPDATES" = '1' ]; then
|
||||
# {
|
||||
# if [[ ! $is_airgap ]]; then
|
||||
# Create the GPG Public Key for the Salt Repo
|
||||
#cp ./public_keys/salt.pem /etc/pki/rpm-gpg/saltstack-signing-key;
|
||||
|
||||
# Copy repo files over
|
||||
#cp ./yum_repos/saltstack.repo /etc/yum.repos.d/saltstack.repo;
|
||||
# else
|
||||
# info "This is airgap"
|
||||
# fi
|
||||
# } >> "$setup_log" 2>&1
|
||||
#fi
|
||||
;;
|
||||
esac
|
||||
if [[ ! $is_airgap ]]; then
|
||||
@@ -2645,7 +2632,7 @@ update_sudoers() {
|
||||
update_packages() {
|
||||
if [ "$OS" = 'centos' ]; then
|
||||
yum repolist >> /dev/null
|
||||
yum -y update >> "$setup_log"
|
||||
yum -y update >> "$setup_log"
|
||||
else
|
||||
retry 50 10 "apt-get -y update" >> "$setup_log" 2>&1 || exit 1
|
||||
retry 50 10 "apt-get -y upgrade" >> "$setup_log" 2>&1 || exit 1
|
||||
|
||||
Reference in New Issue
Block a user