{% extends "ui/_layout.html" %} {% block title %}Settings - bty-web{% endblock %} {% block subnav %} {% with sections=None %} {% include "ui/_subnav.html" %} {% endwith %} {% endblock %} {% block intro %} {% from "ui/_intro_box.html" import render as intro_box %} {% call intro_box() %} Where every bty magic value comes from. Most are read-only (set via environment variable or derived from the state directory); the Upstream sources card is editable and persists in the database. Operator authentication lives on the Account page; PXE / Netboot wiring on the Netboot page. {% endcall %} {% endblock %} {% block content %} {# Editable: the two upstream URLs. Empty field clears the override and reverts to env / default. Both take effect on the next fetch. #}
Upstream sources
GitHub owner/repo the netboot artifacts (and the default catalog URL) are pulled from. Effective: {{ upstream.release_repo }}{% if not upstream.release_repo_override %} (default; leave blank to keep){% endif %}.
Full URL the Fetch latest catalog action downloads catalog.toml from. Effective: {{ upstream.catalog_url }}{% if not upstream.catalog_url_override %} (derived from the release repo; leave blank to keep){% endif %}.
Which release the Fetch artifacts button on the Netboot page pulls: latest or a tag like v0.23.0. Effective: {{ upstream.release_tag }}{% if not upstream.release_tag_override %} (default; leave blank to keep){% endif %}.
Clear a field to revert it to the default.
{# Read-only: the magic values, grouped, each row tagged with where the live value came from (env var / derived path / default). #} {% for group in config_groups %}
{{ group.title }}
{% for r in group.rows %} {% endfor %}
Setting Value Source Env var
{{ r.label }} {{ r.value }} {% if r.source == "env" %} env {% elif r.source == "derived" %} derived {% else %} default {% endif %} {% if r.env %}{{ r.env }} {% else %}-{% endif %}
{% endfor %} {% endblock %}