Hugo source for kms.viktorbarzin.me
Find a file
Viktor Barzin 06009dae30 kms-website: fix consent prompt suppressed by KMS_AUTO
The activate-windows/office wrappers set $env:KMS_AUTO to pre-select the
product, but Approve() treated any KMS_AUTO as "non-interactive" and skipped the
consequences prompt -- so on a machine needing the ODT/edition install it printed
the consequences then exited without asking. Gate the prompt on a real console
([Environment]::UserInteractive + not IsInputRedirected, guarded) instead of
KMS_AUTO. KMS_AUTO now only selects WHICH products to activate.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-01 19:23:51 +00:00
content Initial commit — Hugo source, Dockerfile, Woodpecker pipeline 2026-05-07 23:13:25 +00:00
data kms-website: auto-fetch + auto-install GVLKs (no manual key lookup) 2026-06-01 10:12:03 +00:00
layouts kms-website: dedicated activate-windows / activate-office one-liner commands 2026-06-01 19:15:10 +00:00
static kms-website: fix consent prompt suppressed by KMS_AUTO 2026-06-01 19:23:51 +00:00
.dockerignore Initial commit — Hugo source, Dockerfile, Woodpecker pipeline 2026-05-07 23:13:25 +00:00
.gitignore Initial commit — Hugo source, Dockerfile, Woodpecker pipeline 2026-05-07 23:13:25 +00:00
.woodpecker.yml Initial commit — Hugo source, Dockerfile, Woodpecker pipeline 2026-05-07 23:13:25 +00:00
Dockerfile fix: use hugomods/hugo image (klakegg/hugo no longer published) 2026-05-07 23:16:17 +00:00
hugo.toml kms-website: dedicated activate-windows / activate-office one-liner commands 2026-06-01 19:15:10 +00:00
nginx.conf Initial commit — Hugo source, Dockerfile, Woodpecker pipeline 2026-05-07 23:13:25 +00:00
README.md Initial commit — Hugo source, Dockerfile, Woodpecker pipeline 2026-05-07 23:13:25 +00:00

kms-website

Source for kms.viktorbarzin.me — a single-page reference for activating Microsoft Volume License products against the home-lab KMS host (kms.viktorbarzin.lan / kms.viktorbarzin.me).

Stack

  • Hugo static site (one custom layout, single _index)
  • YAML data file at data/products.yaml is the source of truth for all GVLK tables
  • nginx:alpine Docker image (multi-stage build via Hugo)
  • Woodpecker CI builds + pushes to forgejo.viktorbarzin.me/viktor/kms-website and rolls the kms-web-page Deployment in the kms namespace
  • Terraform in infra/stacks/kms consumes the image (var.image_tag)

Local dev

hugo server -D
# → http://localhost:1313

Update GVLKs

Edit data/products.yaml. Push. CI rebuilds and rolls.

Sources of truth for keys: