vmix.nix/lib/images/windows/templates
Git Sagar 6d4b9155d6 windows/seal: leave nothing on C:, activate on the fresh SID, unmount the CD
Sealed VMs were left with setup scripts on C:\, the config CD mounted,
and Windows unactivated. Rework the first-boot flow so a settled VM
carries no vmix artifacts:

- Activation moves off the throwaway bootstrap's boot 1 into the boot-2
  finalize, which runs as the real account after its fresh SID/profile
  exist -- MAS on that SID is what actually sticks. MAS is kept until
  then, run once, and deleted.
- The static address is set once into the persistent store on the target
  NIC (sealed images already OOBE on the real NIC), so no per-boot task
  and no script survive on disk.
- Boot-2 finalize wipes every vmix-*, MAS_AIO.cmd, config and marker off
  C:\ after use, retires the bootstrap account/profile, and self-deletes.
- The config CD is unmounted for good -- drop its letter and disable the
  mount manager's auto-lettering (D: keeps its explicit assignment).

Non-configMedium generalize (the shared path) is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g
2026-09-19 07:15:43 -03:00
..
apps office install pt-br additional language 2026-05-25 11:52:31 -03:00
essentials vmix run command, virtio-drivers template, delay-oobe-run flag 2026-05-23 23:06:28 -03:00
registry add enableRDP flag to generalize and fix AutoLogon 2026-06-07 15:57:17 +05:30
default-apps.nix sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00
default.nix windows/seal: per-VM account on the config medium, not baked 2026-09-18 09:24:04 -03:00
generalize.nix windows/seal: leave nothing on C:, activate on the fresh SID, unmount the CD 2026-09-19 07:15:43 -03:00