Repository navigation
devvm v0.1.17
Hetzner provider backend
devvm create NAME --backend hetzner creates a cloud server the way create makes a smol VM, then runs setup on it (root adoption, prereqs, hook, repos, keys, hardening). delete destroys it and clears this host's state for it, including the pinned host key. start/stop map to power on/off; stop warns that a stopped server still bills.
- Servers are discovered from the Hetzner API and have no config entry; the
devvm=truelabel is the managed marker. Servers devvm did not make are listed as unmanaged: onlystatus,start,stop(with a confirm),shellandexecwork, and devvm never promotes one. - Config: a
[providers.hetzner]table (location,image,ssh_keyorssh_key_file,ipv4); templates gainserver_type,location,image,ipv4. - Token:
devvm providers token hetzner [--clear]stores it per host (0600, under~/.local/state/devvm/providers/);HCLOUD_TOKENoverrides. The forward daemon never reads it or calls the API. statuslists provider rows from a cache refreshed by one-shotstatusand__refresh, never by polling;--plaingains thehetznerbackend andstarting/stoppingstates.
Status truthfulness
Remote boxes report a real reachable/unreachable/? (ControlMaster check, then a 2s TCP connect; a timeout is ?), with the last contact shown in status -v and as a sixth --plain field. No polling: one-shot status, the hidden __refresh, and commands that just talked to a box refresh it.
Fixes
status --watchre-resolves a symlinkeddevvm.tomlon a timer (macOS kqueue can drop a relink).- Root flags (
--config-dir,--state-dir) beforeexecandkeys addwork. - ssh ControlPath length is checked up front instead of failing deep in a 90s wait.
setupprints a completion line; confirms without a terminal mention--yes.- macOS CI: three test races fixed.
Menu bar app: ? remote rows keep their tile with a distinct glyph; unlabelled Hetzner rows get no actions. Compiled only by CI; please check on a Mac.