my-homelab-configs/bootstrap/provisioning/templates/rescue-index.html.tftpl

76 lines
2.6 KiB
Plaintext

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Homelab PXE Rescue Toolkit</title>
<style>
body {
margin: 0;
background: #0b1020;
color: #e5edf7;
font-family: Arial, sans-serif;
line-height: 1.55;
}
main {
width: min(980px, calc(100% - 32px));
margin: 0 auto;
padding: 32px 0 48px;
}
h1, h2 {
color: #ffffff;
}
.panel {
background: #11182c;
border: 1px solid #263551;
border-radius: 8px;
margin: 18px 0;
padding: 18px;
}
code {
background: #050816;
border: 1px solid #263551;
border-radius: 5px;
padding: 2px 6px;
}
a {
color: #7dd3fc;
}
</style>
</head>
<body>
<main>
<h1>Homelab PXE Rescue Toolkit</h1>
<p>This page is served by the Debian provisioning host at <code>${http_base_url}</code>. The same host serves TFTP boot assets from <code>${tftp_root}</code>.</p>
<section class="panel">
<h2>PXE Menu Entries</h2>
<ul>
<li><strong>Automated homelab worker template:</strong> unattended Debian install using <a href="${preseed_url}">preseed</a>.</li>
<li><strong>Rescue shell:</strong> Debian Installer rescue mode for mounting and repairing an installed system.</li>
<li><strong>Expert/manual install:</strong> interactive Debian Installer path for one-off machines.</li>
<li><strong>Automated install, verbose:</strong> same preseeded install without quiet boot.</li>
<li><strong>UEFI firmware settings:</strong> returns into firmware setup when supported.</li>
<li><strong>Exit PXE and continue local boot:</strong> leaves the GRUB netboot path.</li>
</ul>
</section>
<section class="panel">
<h2>Useful URLs</h2>
<ul>
<li><a href="/preseed/debian13-arm64-worker.cfg">/preseed/debian13-arm64-worker.cfg</a></li>
<li><a href="/scripts/golden-node-prepare.sh">/scripts/golden-node-prepare.sh</a></li>
<li><a href="/scripts/prepare-template.sh">/scripts/prepare-template.sh</a></li>
<li><a href="/debian-installer/arm64/linux">/debian-installer/arm64/linux</a></li>
<li><a href="/debian-installer/arm64/initrd.gz">/debian-installer/arm64/initrd.gz</a></li>
</ul>
</section>
<section class="panel">
<h2>Notes</h2>
<p>The default menu entry remains the automated install so the Pimox template builder can still boot unattended. Use the firmware console to select rescue or manual install when recovering a host.</p>
</section>
</main>
</body>
</html>