Avoid backing up environment secret values
This commit is contained in:
@@ -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 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 users 'getent passwd | awk -F: '\''$3 >= 1000 || $1 == "root" {print $1 ":" $3 ":" $4 ":" $6}'\'''
|
||||||
capture_shell mounts 'mount'
|
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 nvidia 'command -v nvidia-smi && nvidia-smi -q || true'
|
||||||
capture_shell ollama 'command -v ollama && ollama list || 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'
|
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'
|
||||||
|
|||||||
Reference in New Issue
Block a user