mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix][WIP] Revert parts of2261fe9
This commit is contained in:
@@ -1065,7 +1065,7 @@ saltify() {
|
||||
openssl\
|
||||
jq;
|
||||
yum -y update exclude=salt*;
|
||||
systemctl enable salt-minion
|
||||
systemctl enable salt-minion;
|
||||
} >> "$setup_log" 2>&1
|
||||
echo "exclude=salt*" >> /etc/yum.conf
|
||||
else
|
||||
@@ -1216,14 +1216,14 @@ set_progress_str() {
|
||||
local progress_bar_text=$2
|
||||
|
||||
if [[ $percentage_input -ge $percentage ]]; then
|
||||
export percentage="$percentage_input"
|
||||
percentage="$percentage_input"
|
||||
fi
|
||||
|
||||
percentage_str="XXX\n${percentage}\n${progress_bar_text}\nXXX\n"
|
||||
|
||||
echo -e "$percentage_str"
|
||||
|
||||
printf '%s\n' '----' "$percentage\% - ${progress_bar_text^^}" "----" >> "$setup_log" 2>&1
|
||||
printf '%s\n' '----' "$percentage% - ${progress_bar_text^^}" "----" >> "$setup_log" 2>&1
|
||||
|
||||
sleep 5
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user