tailscale join previously required --blueprint=bp:<id>. Operators
running the command interactively find it natural to drop the
prefix, and SRE scripts that already construct the id elsewhere
find it natural to pass it positionally. Accept all four forms and
normalize them client-side:
tailscale join --blueprint=bp:foo --auth-key=...
tailscale join --blueprint=foo --auth-key=...
tailscale join bp:foo --auth-key=...
tailscale join foo --auth-key=...
The four forms produce identical requests to the control plane.
Mismatched positional and --blueprint values are rejected with an
error naming both inputs in their normalized "bp:<id>" form; agreed
duplicates are accepted silently. Validation (letter-start,
alphanumerics + dashes) still flows through the existing
blueprintIDFromFlag, so the empty-after-strip and bad-character
errors are unchanged.
Updates #cleanup
Signed-off-by: Kabir Sikand <[email protected]>