feat(chopper): add an echoip microvm guest - #115
Draft
devusb wants to merge 1 commit into
Draft
Conversation
devusb
force-pushed
the
feat/microvm-echoip
branch
6 times, most recently
from
August 30, 2026 16:03
2c2a965 to
09a3285
Compare
devusb
marked this pull request as draft
August 30, 2026 16:10
echoip is trivial enough that it makes plain whether a guest booted and reached the network, which makes it a reasonable first VM on the host support added previously. It takes a static address from below the DHCP pool, so Kea has nothing to hand out, and a vsock CID of 3. Everything else comes from common.nix.
devusb
force-pushed
the
feat/microvm-echoip
branch
from
August 30, 2026 16:18
09a3285 to
dbcfb41
Compare
Owner
Author
|
Heads up from #120 — worth renaming the guest to Nodes and Tailscale Services share a MagicDNS namespace, and machine names resolves a collision by appending a suffix that persists "even if the conflicting machine's name is later changed". So a guest named after the thing it runs can permanently become Renaming the attribute to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a first guest on top of the microvm host support from #118. echoip is trivial enough that it makes plain whether a guest booted and reached the network, which is the point of it.
Everything but the three things that have to be unique comes from
common.nix: a static address from below the DHCP pool so Kea has nothing to hand out, the tap interface, and a vsock CID.Verified on chopper
Deployed with
colmena apply testbefore being split out of the original branch:vm-echoiplands inbr0alongsideenp6s0andvnet0, with no host networking changesmachinectl listshows it as classvm, servicemicrovm.nixmicrovm -s echoipconnects over VSOCKtailscale pingfrom chopper resolves direct at 1ms via192.168.20.50:41641rather than falling back to a DERP relay/var/libvolumeKept as a draft
This is deliberately parked rather than merged. It exists as a worked reference for the shape a guest takes — the intended first real guest is hermes, which will need substantially more memory and vcpu, a nested volume for podman's container storage, and its own credentials.