Skip to content

Conversation

@klutchell
Copy link
Contributor

@klutchell klutchell commented Feb 5, 2026

  • Fetch server metadata from Hetzner Robot API (/server + /ip endpoints)
  • Apply static IPv4 and IPv6 config via nmcli over dbus
  • Verify connectivity with ping and DNS tests before persisting
  • Optionally persist validated config to /mnt/boot (PERSIST=true)
  • Use docker to access host filesystem (balenaOS restriction)
  • Rename service from enable-ipv6 to static-iface

See: https://balena.fibery.io/Work/Improvement/Service-to-convert-DHCP-to-static-for-github-runners-3738

Prepare for other service updates by moving the ipv6 script out of the
compose file as-is to a docker build step.

Signed-off-by: Kyle Harding <kyle@balena.io>
Signed-off-by: Kyle Harding <kyle@balena.io>
- Fetch server metadata from Hetzner Robot API (/server + /ip endpoints)
- Apply static IPv4 and IPv6 config via nmcli over dbus
- Verify connectivity with ping and DNS tests before persisting
- Optionally persist validated config to /mnt/boot (PERSIST=true)
- Use docker to access host filesystem (balenaOS restriction)
- Rename service from enable-ipv6 to static-iface

Change-type: patch
Signed-off-by: Kyle Harding <kyle@balena.io>
@flowzone-app flowzone-app bot enabled auto-merge February 5, 2026 16:41
@klutchell klutchell requested a review from ab77 February 5, 2026 16:43
@ab77
Copy link
Member

ab77 commented Feb 5, 2026

@klutchell looks OK, is it working?

@klutchell
Copy link
Contributor Author

@ab77 excellent question, yes I have tested it on one server with a draft release

@flowzone-app flowzone-app bot merged commit 62e0912 into master Feb 5, 2026
50 checks passed
@flowzone-app flowzone-app bot deleted the kyle/static-ips branch February 5, 2026 17:45
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.

2 participants