Avoid backing up environment secret values

This commit is contained in:
Carlos Tello
2026-09-21 10:17:42 -03:00
parent c9a2e73c61
commit cc06215319
+2 -1
View File
@@ -103,7 +103,8 @@ capture_shell disks 'df -hT; echo; findmnt'
capture_shell network 'ip -brief address; echo; ip route; echo; resolvectl status 2>/dev/null || true'
capture_shell users 'getent passwd | awk -F: '\''$3 >= 1000 || $1 == "root" {print $1 ":" $3 ":" $4 ":" $6}'\'''
capture_shell mounts 'mount'
capture_shell environment 'printenv | sort'
# Registrar nombres, no valores que puedan contener credenciales.
capture_shell environment 'printenv | cut -d= -f1 | sort -u'
capture_shell nvidia 'command -v nvidia-smi && nvidia-smi -q || true'
capture_shell ollama 'command -v ollama && ollama list || true'
capture_shell versions 'command -v node && node --version || true; command -v npm && npm --version || true; command -v python3 && python3 --version || true; command -v ollama && ollama --version || true; command -v openclaw && openclaw --version || true'