Skip to content

docs(lab): keep the 26.04 guests' initramfs off the network - #1564

Merged
Gerrrt merged 1 commit into
mainfrom
docs/lab-guests-no-initramfs-dhcp
Nov 18, 2026
Merged

Gerrrt merged 1 commit into
mainfrom
docs/lab-guests-no-initramfs-dhcp

Conversation

@Gerrrt

@Gerrrt Gerrrt commented Nov 18, 2026

Copy link
Copy Markdown
Owner

What changed

Runbooks only; nothing changes on the guests until each step is run. build-the-lab-guest.md (alexander), build-the-soc-guest.md (odin) and build-the-jumpbox.md (phoenix) each gain a §2 step, "No network in the initramfs". It adds the same dracut drop-in fenrir has (omit_dracutmodules+=" net-lib systemd-networkd "), rebuilds the initramfs with a copy kept to roll back to, and proves the result on the next boot. The changelog records what the guests' journals showed.

Why

The fenrir capture of 2026-11-17 left one question open: does every 26.04 guest built from the ISO take a lab-pool lease in its initramfs? Each guest's journal, last four boots, read on 2026-11-18:

Guest Static Address given in the initramfs
alexander .40 .100, .100, .100, .101 (pool)
odin .60 .101, .101, .102, .115 (pool)
phoenix .70 .70 each time (its morpheus reservation, build-the-jumpbox.md §3)
eden .41 not read: off

All three run dracut 110 with no dracut.conf.d, so zzzz-dracut-default.network DHCPs ens18 before netplan's static config applies. Each lease lasts until switch-root, about seven seconds.

Blast radius

Each of the three guests, once the step is run. A bad initramfs leaves a guest unbootable until the console fallback in the step is used: boot the .pre-no-network copy from GRUB. The step changes nothing on the network side; the static addresses come from netplan in the real root, as before.

  • No change to network segmentation or firewall rules
  • No new port published to a VLAN that could not already reach the service
  • No credential added outside secrets/*.sops.yaml

Verification

  • The proof command, run against alexander's current boot: journalctl -b -o short-iso | awk '/Switching root/{exit} {print}' | grep -cE 'DHCPv4|zzzz-dracut-default' prints 2. Once the step has run, it must print 0.

  • python3 scripts/check_docs.py → docs OK — 164 Prometheus + 21 Loki rules, 8 dashboards, 156 panels, 14 assertions.

  • ./scripts/lint.sh:

    • yamllint and ruff passed; shellcheck and actionlint passed on local binaries, not the pinned versions.
    • ansible-lint fails in its local runner, as on main; this PR touches no Ansible.
    • markdownlint and editorconfig-checker skipped: no Docker daemon.
  • make validate was not run: this is a docs-only change.

  • make validate passes (CI)

  • Deployed to the lab and confirmed working: not yet applied on any of the three

  • Docs updated (docs/, service README, or docs/roadmap.md)

🤖 Generated with Claude Code

alexander and odin took a lease from the lab pool in their dracut
initramfs on every boot on record, and phoenix asked for its reserved
address. The runbooks for all three now carry fenrir's no-network
dracut drop-in, with a rollback copy and a journal-based proof.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 00:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The boot-critical initramfs procedures have not been applied to any of the three guests, so successful reboots and the documented GRUB fallback require human confirmation before operational use.

No open issues 🎉

What changed in this PR

Documents how to disable initramfs networking on the Ubuntu 26.04 guests alexander, odin, and phoenix, following fenrir’s existing approach. This is documentation-only; no guest changes until the steps are run.

Changes:

  • Adds dracut configuration to omit early-boot networking while preserving normal netplan configuration.
  • Documents initramfs backups, rebuilding, GRUB recovery, and post-reboot checks.
  • Records observed DHCP behavior and notes that deployment is still pending.
File Description
docs/​runbooks/​build-the-soc-guest.md Adds networking removal, recovery, and verification steps for odin.
docs/​runbooks/​build-the-lab-guest.md Adds networking removal, recovery, and verification steps for alexander.
docs/​runbooks/​build-the-jumpbox.md Adds networking removal, recovery, and verification steps for phoenix.
docs/​changelog.md Records guest DHCP observations and the new runbook procedures.

Review effort: Balanced

@Gerrrt
Gerrrt merged commit 2fdda47 into main Nov 18, 2026
10 checks passed
@Gerrrt
Gerrrt deleted the docs/lab-guests-no-initramfs-dhcp branch November 18, 2026 01:47
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