mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Also print stdout message to log
This commit is contained in:
@@ -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
|
[[ -f /etc/systemd/system/docker.service.d/http-proxy.conf ]] && rm -f /etc/systemd/system/docker.service.d/http-proxy.conf
|
||||||
systemctl daemon-reload
|
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
|
[[ -f /root/.docker/config.json ]] && rm -f /root/.docker/config.json
|
||||||
|
|
||||||
|
|||||||
@@ -363,7 +363,7 @@ percentage=0
|
|||||||
fi
|
fi
|
||||||
} | progress '...'
|
} | 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
|
detect_cloud
|
||||||
|
|
||||||
short_name=$(echo "$HOSTNAME" | awk -F. '{print $1}')
|
short_name=$(echo "$HOSTNAME" | awk -F. '{print $1}')
|
||||||
|
|||||||
Reference in New Issue
Block a user