vmix.nix/lib/images/windows
Git Sagar a378eb4ad7 generalize: turn DHCP off before asserting a static address, and answer pings
The VM came up holding a DHCP lease rather than the address it was told to
take, while RDP -- configured a few lines earlier in the same script -- worked
fine. So post-oobe.cmd was running; only the addressing failed.

Two reasons, both fixed. The interface arrives DHCP-managed and nothing turned
DHCP off, so New-NetIPAddress had no lasting effect. And FirstLogonCommands can
run before the adapter is up, so it is now waited for rather than assumed.

Moved out of post-oobe.cmd into its own file. The command is long and full of
quotes and pipes, which is not a thing to leave at the mercy of cmd's parsing.
It also logs, so the next failure can be read off the disk instead of inferred.

Pings are now allowed too. Windows blocks ICMP by default, which makes a box
at a fixed address look dead to everything that checks it the obvious way --
including me, for a while.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g
2026-09-10 06:56:00 -03:00
..
drivers sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00
helpers windows images: stop a non-matching display glob from poisoning the build env 2026-09-10 00:06:07 -03:00
templates generalize: turn DHCP off before asserting a static address, and answer pings 2026-09-10 06:56:00 -03:00
win10 laptop image tiers, devshell, partition preserve, cleanup 2026-05-24 13:32:18 -03:00
win11 laptop image tiers, devshell, partition preserve, cleanup 2026-05-24 13:32:18 -03:00
default.nix sync with labv2.nix + standalone flake with toDisk app 2026-05-23 19:18:10 -03:00