Files
broom/build.cmd
morningstar-sudoandClaude Opus 5.5 88f41f3112 feat: Windows diskless via native VHDX boot, own iPXE build, drop LTSP
- Windows (Phase W): sysprepped VM .vmdk -> golden.vhdx + child VHDX
  (vhdx.rs); a Linux stage on the client SSD downloads/verifies the
  golden, resets the child every boot and enforces BootOrder
  (PXE -> Broom Windows -> Windows Boot Manager); computer name comes
  from the Machines table (broom.host -> Rename-Computer at base creation)
- Linux: SSD writeback + golden read cache on the client SSD; LTSP removed
- iPXE: upstream source vendored in mgmt/ipxe/ipxe-src and edited in
  place (menu layout with hint/countdown/footer, one-line banner, no
  autoexec lookup, no Ctrl-B wait); snponly.efi embedded in the binary
- Boot menu: machine name via boot.ipxe?mac=, per-server random iSCSI IQN
- Web: one route per page, SSE server liveness dot, hostname validation
- One-step build: build.sh (Linux/WSL) + build.cmd (Windows double-click)
- Stop tracking build cache/local DB; .gitignore + .gitattributes
- All code comments, logs, UI and docs in English

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 20:07:48 +07:00

9 lines
381 B
Batchfile

@echo off
rem Double-click build on Windows: runs build.sh inside WSL (distro Ubuntu-24.04; override with BROOM_WSL).
rem Extra options pass through, e.g. build.cmd --ipxe / build.cmd --no-test
cd /d "%~dp0"
if "%BROOM_WSL%"=="" set BROOM_WSL=Ubuntu-24.04
wsl -d %BROOM_WSL% -- bash ./build.sh %*
if errorlevel 1 (echo. & echo BUILD FAILED) else (echo. & echo BUILD OK)
pause