mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
redir err to out to avoid leaks to console
This commit is contained in:
@@ -927,9 +927,9 @@ create_repo() {
|
|||||||
|
|
||||||
detect_cloud() {
|
detect_cloud() {
|
||||||
info "Testing if setup is running on a cloud instance..."
|
info "Testing if setup is running on a cloud instance..."
|
||||||
if dmidecode -s bios-version | grep -q amazon || \
|
if dmidecode -s bios-version 2>&1 | grep -q amazon || \
|
||||||
dmidecode -s bios-vendor | grep -q Amazon || \
|
dmidecode -s bios-vendor 2>&1 | grep -q Amazon || \
|
||||||
dmidecode -s bios-vendor | grep -q Google || \
|
dmidecode -s bios-vendor 2>&1 | grep -q Google || \
|
||||||
[ -f /var/log/waagent.log ]; then
|
[ -f /var/log/waagent.log ]; then
|
||||||
|
|
||||||
info "Detected a cloud installation..."
|
info "Detected a cloud installation..."
|
||||||
|
|||||||
Reference in New Issue
Block a user