Merge pull request #34 from buildplan/test

fixes
This commit is contained in:
buildplan 2025-07-04 16:49:09 +01:00 committed by GitHub
commit b9ebe756ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 12 deletions

View File

@ -75,12 +75,12 @@ sha256sum du_setup.sh
Compare the output hash to the one below. They must match exactly. Compare the output hash to the one below. They must match exactly.
`c88ccdaa4cbf836f98bb70a976398248de34f56a8f3e74ba853494a3140abd6b` `d8c56a3927972cb0e6a5c1f732a03bcdd050715a949ff58232e3bfe6d0c6d260`
Or echo the hash to check, it should output: `du_setup.sh: OK` Or echo the hash to check, it should output: `du_setup.sh: OK`
``` ```
echo c88ccdaa4cbf836f98bb70a976398248de34f56a8f3e74ba853494a3140abd6b du_setup.sh | sha256sum --check - echo d8c56a3927972cb0e6a5c1f732a03bcdd050715a949ff58232e3bfe6d0c6d260 du_setup.sh | sha256sum --check -
``` ```
### 3\. Run the Script ### 3\. Run the Script

View File

@ -2075,15 +2075,16 @@ generate_summary() {
print_success "Service tailscaled is active and connected." print_success "Service tailscaled is active and connected."
echo "$TS_IPS" > /tmp/tailscale_ips.txt echo "$TS_IPS" > /tmp/tailscale_ips.txt
else else
if grep -q "Tailscale connection failed: tailscale up" "$LOG_FILE"; then if grep -q "Tailscale connection failed: tailscale up" "$LOG_FILE"; then
print_error "Service tailscaled is NOT active" print_error "Service tailscaled is NOT active"
FAILED_SERVICES+=("tailscaled") FAILED_SERVICES+=("tailscaled")
TS_COMMAND=$(grep "Tailscale connection failed: tailscale up" "$LOG_FILE" | tail -1 | sed 's/.*Tailscale connection failed: //') TS_COMMAND=$(grep "Tailscale connection failed: tailscale up" "$LOG_FILE" | tail -1 | sed 's/.*Tailscale connection failed: //')
TS_COMMAND=${TS_COMMAND:-""} TS_COMMAND=${TS_COMMAND:-""}
else else
print_info "Service tailscaled is installed but not configured." print_info "Service tailscaled is installed but not configured."
TS_COMMAND="" TS_COMMAND=""
fi fi
fi
fi fi
if [[ "$AUDIT_RAN" == true ]]; then if [[ "$AUDIT_RAN" == true ]]; then
print_success "Security audit performed." print_success "Security audit performed."

View File

@ -1 +1 @@
c88ccdaa4cbf836f98bb70a976398248de34f56a8f3e74ba853494a3140abd6b du_setup.sh d8c56a3927972cb0e6a5c1f732a03bcdd050715a949ff58232e3bfe6d0c6d260 du_setup.sh