From 28e82bfccb7f1e2633b3cc429af17f63d22e74b5 Mon Sep 17 00:00:00 2001 From: Daniel Maksymilian Syrnicki Date: Wed, 15 Apr 2026 09:27:49 +0200 Subject: [PATCH] fix(webinstaller): point users at http://.local after reboot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The post-reboot page told users to log in with the username and password — but Furtka is browser-first; users aren't meant to touch the TTY. Show the actual URL they should open instead, plus an mDNS fallback hint. Also pin the header SVG to width="24" height="24" so it can never render at full viewport size, even if CSS somehow fails to load. Belt-and-suspenders with the reboot-delay fix. Co-Authored-By: Claude Opus 4.6 (1M context) --- webinstaller/app.py | 2 +- webinstaller/static/style.css | 4 ++++ webinstaller/templates/base.html | 2 +- webinstaller/templates/install/rebooting.html | 4 +++- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/webinstaller/app.py b/webinstaller/app.py index f7722ee..b6d8ad6 100644 --- a/webinstaller/app.py +++ b/webinstaller/app.py @@ -639,7 +639,7 @@ def install_reboot(): ["/bin/sh", "-c", "sleep 3 && /usr/bin/systemctl reboot"], start_new_session=True, ) - return render_template("install/rebooting.html") + return render_template("install/rebooting.html", hostname=settings["hostname"]) if __name__ == "__main__": diff --git a/webinstaller/static/style.css b/webinstaller/static/style.css index 702b1d7..057e626 100644 --- a/webinstaller/static/style.css +++ b/webinstaller/static/style.css @@ -126,6 +126,10 @@ h1 { margin: 0 0 2rem; font-size: 1.05rem; } +.muted { + color: var(--fg-muted); + font-size: 0.9rem; +} /* ── Forms ──────────────────────────────────────────────────── */ diff --git a/webinstaller/templates/base.html b/webinstaller/templates/base.html index da311b6..a2968c4 100644 --- a/webinstaller/templates/base.html +++ b/webinstaller/templates/base.html @@ -11,7 +11,7 @@