From ff9fc4db4ea3e3e635c7bd72b0cc1d14f24273e7 Mon Sep 17 00:00:00 2001 From: mk Date: Tue, 28 Jul 2026 05:35:40 +0300 Subject: [PATCH] =?UTF-8?q?fix(sanity):=20hostname=20missing=20on=20minima?= =?UTF-8?q?l=20Arch=20(not=20in=20coreutils)=20=E2=80=94=20use=20uname=20-?= =?UTF-8?q?n=20with=20fallbacks;=20refresh=20TLS=20follow-up=20to=20angie-?= =?UTF-8?q?issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/60-sanity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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