fix(sanity): hostname missing on minimal Arch (not in coreutils) — use uname -n with fallbacks; refresh TLS follow-up to angie-issue
This commit is contained in:
parent
f7e4bb96d7
commit
ff9fc4db4e
@ -15,7 +15,7 @@ run_sanity() {
|
||||
echo " memory : $(free -h | awk '/^Mem/ {print $2}') total"
|
||||
echo " swap : $(swapon --show 2>/dev/null | awk 'NR>1{print $3; found=1} END{if(!found) print "none"}')"
|
||||
echo " timezone : $(timedatectl show -p Timezone --value 2>/dev/null || cat /etc/timezone 2>/dev/null || echo '?')"
|
||||
echo " hostname : $(hostname)"
|
||||
echo " hostname : $(uname -n 2>/dev/null || hostnamectl --static 2>/dev/null || cat /etc/hostname 2>/dev/null || echo '?')"
|
||||
echo " locale : $(locale 2>/dev/null | awk -F= '/^LANG/ {print $2}')"
|
||||
echo " ufw : $(sudo_ ufw status 2>/dev/null | head -1 || echo 'not installed')"
|
||||
echo " fail2ban : $(sudo_ fail2ban-client status 2>/dev/null | head -2 || echo 'not running')"
|
||||
@ -32,7 +32,7 @@ run_sanity() {
|
||||
- Add starship config if you want a custom prompt: starship preset list
|
||||
(defaults ship with the bootstrap).
|
||||
- Consider 'newgrp docker' or re-login to activate the docker group.
|
||||
- Install domain + TLS for angie separately (certbot/acme.sh), not handled here.
|
||||
- Issue TLS certs for angie hosts with: angie-issue <domain> you@email.com
|
||||
EOF
|
||||
ok "bootstrap sanity report done."
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user