docs(flatcar): cover remote reprovision (tailscale/headless/watchdog)#11
Merged
Conversation
The stock recipe uses --force and assumes console access. On a host reached only over SSH, the pivot drops the old OS's networking and the launching session with it, leaving you blind while flatcar-install rewrites the disk. Document --tailscale.authkey (tsnet, survives losing host networking), --headless (survive SSH disconnect), and --watchdog-timeout (reboot instead of brick on a hung installer).
--headless was removed from xmorph; on systemd the pivot now self-relocates into a transient scope so an SSH/run0 disconnect can't kill it, and unit-driven runs use --systemd-mode. Drop --headless from the remote example accordingly.
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.
What
Adds a Reprovisioning a remote host section to
docs/reprovision/flatcar.md.The stock recipe uses
--forceand assumes console access. When the target is reached only over SSH (e.g. reprovisioning a remote server), the pivot tears down the old OS's networking the instant services stop — the launching session dies with it, leaving you blind whileflatcar-installrewrites the disk.Documents the flags that keep you reachable through the pivot:
--tailscale.authkey— joins the in-RAM installer rootfs to the tailnet via tsnet (userspace; survives losing the host's own networking). Reappears as<host>-xmorphwith Tailscale SSH.--headless— detaches from the launching terminal so an SSH disconnect doesn't kill the install.--watchdog-timeout— reboots a hung installer instead of leaving a silent brick.Why now
Surfaced while dogfooding the Flatcar recipe to reprovision a real remote host (NixOS -> Flatcar). This is the gap I hit first.
Status