mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-10-11 08:45:39 +02:00
Also print stdout message to log
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1942,7 +1942,7 @@ reset_proxy() {
|
||||
|
||||
[[ -f /etc/systemd/system/docker.service.d/http-proxy.conf ]] && rm -f /etc/systemd/system/docker.service.d/http-proxy.conf
|
||||
systemctl daemon-reload
|
||||
command -v docker &> /dev/null && echo "Restarting Docker..." && systemctl restart docker
|
||||
command -v docker &> /dev/null && echo "Restarting Docker..." | tee -a "$setup_log" && systemctl restart docker
|
||||
|
||||
[[ -f /root/.docker/config.json ]] && rm -f /root/.docker/config.json
|
||||
|
||||
|
||||
+1
-1
@@ -363,7 +363,7 @@ percentage=0
|
||||
fi
|
||||
} | progress '...'
|
||||
|
||||
echo "Checking if setup is running in the cloud..."
|
||||
echo "Checking if setup is running in the cloud..." | tee -a "$setup_log"
|
||||
detect_cloud
|
||||
|
||||
short_name=$(echo "$HOSTNAME" | awk -F. '{print $1}')
|
||||
|
||||
Reference in new issue
Block a user