diff --git a/modules/60-sanity.sh b/modules/60-sanity.sh index eaf6a70..768247c 100755 --- a/modules/60-sanity.sh +++ b/modules/60-sanity.sh @@ -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 you@email.com EOF ok "bootstrap sanity report done." } \ No newline at end of file