Repository navigation
static-network: set metric 50 on ipam= default route - #79
Merged
mergify[bot] merged 1 commit intoOct 27, 2026
Conversation
- `80-dhcp.network` sets RouteMetric=100; setting the `ipam=` one to 50 makes it preferred over auto-configured interfaces - move the `ipam=` gateway from `[Network] Gateway=` to a `[Route]` section, as Gateway doesn't take a metric - emit `[Route]` last, after `DNS=`/`NTP=`/`Domains=`, so those keys stay in `[Network]` - log the gateway and metric Assisted-by: Claude Opus 5 <noreply@anthropic.com> Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
rpardini
marked this pull request as ready for review
October 21, 2026 11:59
jacobweinstock
approved these changes
Oct 27, 2026
Contributor
✅ Merged into
|
| Condition | Required by | |
|---|---|---|
| ✅ | #changes-requested-reviews-by=0 |
— |
| ✅ | github-review-approved |
GitHub repository ruleset rule main |
| ✅ | label!=do-not-merge |
— |
| ✅ | label=ready-to-merge |
— |
| ✅ | queue-position>=0 |
— |
| ✅ | any of: #approved-reviews-by>=1, author=jacobweinstock |
— |
The batch, tested on draft #80
| Condition | Required by | |
|---|---|---|
| ✅ | base=main |
— |
| ✅ | check-success=DCO |
— |
| ✅ | check-success=build-captainos (with kernel) trixie-slim (amd64) |
— |
| ✅ | check-success=build-captainos (with kernel) trixie-slim (arm64) |
— |
| ✅ | check-success=build-captainos trixie-armbian-rpi (arm64) |
— |
| ✅ | check-success=build-captainos trixie-full (amd64) |
— |
| ✅ | check-success=build-captainos trixie-full (arm64) |
— |
| ✅ | check-success=build-captainos trixie-genio (arm64) |
— |
| ✅ | check-success=build-captainos trixie-meson64 (arm64) |
— |
| ✅ | check-success=build-captainos trixie-rockchip64 (arm64) |
— |
| ✅ | check-success=build-captainos trixie-rockchip64-vendor (arm64) |
— |
| ✅ | check-success=build-captainos-kernel (amd64) |
— |
| ✅ | check-success=build-captainos-kernel (arm64) |
— |
| ✅ | check-success=build-dockerfile (amd64) |
— |
| ✅ | check-success=build-dockerfile (arm64) |
— |
| ✅ | check-success=download-tools (amd64) |
— |
| ✅ | check-success=download-tools (arm64) |
— |
| ✅ | check-success=prepare |
— |
| ✅ | any of: check-success = @github-actions/download-tools (amd64), check-neutral = @github-actions/download-tools (amd64), check-skipped = @github-actions/download-tools (amd64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/download-tools (arm64), check-neutral = @github-actions/download-tools (arm64), check-skipped = @github-actions/download-tools (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos (with kernel) trixie-slim (amd64), check-neutral = @github-actions/build-captainos (with kernel) trixie-slim (amd64), check-skipped = @github-actions/build-captainos (with kernel) trixie-slim (amd64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos (with kernel) trixie-slim (arm64), check-neutral = @github-actions/build-captainos (with kernel) trixie-slim (arm64), check-skipped = @github-actions/build-captainos (with kernel) trixie-slim (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos trixie-armbian-rpi (arm64), check-neutral = @github-actions/build-captainos trixie-armbian-rpi (arm64), check-skipped = @github-actions/build-captainos trixie-armbian-rpi (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos trixie-full (amd64), check-neutral = @github-actions/build-captainos trixie-full (amd64), check-skipped = @github-actions/build-captainos trixie-full (amd64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos trixie-full (arm64), check-neutral = @github-actions/build-captainos trixie-full (arm64), check-skipped = @github-actions/build-captainos trixie-full (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos trixie-genio (arm64), check-neutral = @github-actions/build-captainos trixie-genio (arm64), check-skipped = @github-actions/build-captainos trixie-genio (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos trixie-meson64 (arm64), check-neutral = @github-actions/build-captainos trixie-meson64 (arm64), check-skipped = @github-actions/build-captainos trixie-meson64 (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos trixie-rockchip64 (arm64), check-neutral = @github-actions/build-captainos trixie-rockchip64 (arm64), check-skipped = @github-actions/build-captainos trixie-rockchip64 (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos trixie-rockchip64-vendor (arm64), check-neutral = @github-actions/build-captainos trixie-rockchip64-vendor (arm64), check-skipped = @github-actions/build-captainos trixie-rockchip64-vendor (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos-kernel (amd64), check-neutral = @github-actions/build-captainos-kernel (amd64), check-skipped = @github-actions/build-captainos-kernel (amd64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/prepare, check-neutral = @github-actions/prepare, check-skipped = @github-actions/prepare |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-dockerfile (amd64), check-neutral = @github-actions/build-dockerfile (amd64), check-skipped = @github-actions/build-dockerfile (amd64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-dockerfile (arm64), check-neutral = @github-actions/build-dockerfile (arm64), check-skipped = @github-actions/build-dockerfile (arm64) |
GitHub repository ruleset rule main |
| ✅ | any of: check-success = @github-actions/build-captainos-kernel (arm64), check-neutral = @github-actions/build-captainos-kernel (arm64), check-skipped = @github-actions/build-captainos-kernel (arm64) |
GitHub repository ruleset rule main |
Times in UTC · dashboard · how the merge queue works
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.
80-dhcp.networksets RouteMetric=100; setting theipam=one to 50 makes it preferred over auto-configured interfacesipam=gateway from[Network] Gateway=to a[Route]section, as Gateway doesn't take a metric[Route]last, afterDNS=/NTP=/Domains=, so those keys stay in[Network]