vmix.nix/lib/images/windows/templates
Git Sagar 5251bf7290 generalize: keep the static address from stranding the box after a reboot
It worked on the first boot and was gone after a later internal reboot -- no
IPv4 at all, not even DHCP. DHCP is turned off before the address is set, so
anything that stops the set mid-way leaves the interface with nothing. A stale
ARP entry for the address, left on the network by the previous instance,
tripped duplicate-address detection and made New-NetIPAddress throw; with
-ErrorAction Stop that aborted the script with DHCP already off.

DadTransmits 0 turns that detection off so the static binds regardless of what
the network remembers, and the assignment is now retried a few times rather
than fatal on the first throw. Moved to its own .ps1 -- a wait loop and a retry
are not worth keeping correct inside a cmd one-liner.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0117qMyjpuXsjpVAcpJbFD8g
2026-09-10 19:49:40 -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 laptop image tiers, devshell, partition preserve, cleanup 2026-05-24 13:32:18 -03:00
generalize.nix generalize: keep the static address from stranding the box after a reboot 2026-09-10 19:49:40 -03:00