Skip to content

feat: Incus network diagnostics and fail-fast connectivity check#7

Merged
ethannortharc merged 1 commit intomainfrom
feat/incus-network-diagnostics
Mar 10, 2026
Merged

feat: Incus network diagnostics and fail-fast connectivity check#7
ethannortharc merged 1 commit intomainfrom
feat/incus-network-diagnostics

Conversation

@ethannortharc
Copy link
Copy Markdown
Owner

Summary

  • Adds Incus network diagnostics to devbox doctor on Linux: checks incusbr0 bridge, NAT, IP forwarding, iptables FORWARD rules, and live VM connectivity
  • devbox create now fails fast with actionable fix commands if the VM has no internet connectivity, instead of silently timing out on every download for 20+ minutes
  • Also includes prior fixes: NixOS PATH for incus exec, NixOS channel setup, home directory creation, and network wait

Test plan

  • cargo test — all 67 tests pass
  • Run devbox doctor on Linux with Incus to verify network section output
  • Run devbox create with blocked iptables to verify fail-fast behavior

🤖 Generated with Claude Code

…tivity

- devbox doctor now checks incusbr0 bridge, IP forwarding, iptables
  FORWARD rules, NAT masquerade, and tests VM connectivity on Linux
- devbox create now fails fast with actionable fix commands if the VM
  has no internet, instead of silently timing out on every download

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ethannortharc ethannortharc merged commit 6e9b992 into main Mar 10, 2026
0 of 2 checks passed
ethannortharc pushed a commit that referenced this pull request Mar 11, 2026
… Incus VM IP' (#7) from fix/incus-ip-docker-bridge into main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant