Runtime Tailscale wiring for a target: local host — start the daemon and set
--operator + --hostname.
The tailscale-up candy is the runtime-config sibling of
layer-tailscale, which it
require:s, so any image composing this layer carries the tailscale CLI and
tailscaled daemon it drives. On a target: local host its single deploy task
starts tailscaled.service, sets --operator (uid 1000) so a user-systemd
ExecStartPost can run tailscale serve without sudo, and keeps the tailnet
device name in sync with /etc/hostname across hostname changes.
Every step self-gates on systemctl is-active tailscaled, so the layer is a
no-op in image-build / bootc-assembly contexts where systemd is not PID 1.
| Property | Value |
|---|---|
| Layer / candy | tailscale-up |
| Requires | layer-tailscale (the daemon + CLI) |
| Packages | none (config-only layer) |
| Service | none (sets state on the existing tailscaled.service) |
| Install files | charly.yml (one run: task) |
Compose the layer by pinning this repo in a box's candy: list:
my-host-profile:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-tailscale-up:v2026.271.1737'Then, on the target host:
sudo tailscale up # authenticate the daemon
tailscale debug prefs | grep -E '"OperatorUser"|"Hostname"'
tailscale status | head -2The candy's plan: asserts the composed CLI at /usr/bin/tailscale, the daemon
at /usr/sbin/tailscaled, tailscale version running offline, and — on a
logged-in tailnet member — that tailscale debug prefs succeeds without sudo
with a non-empty OperatorUser, that prefs Hostname tracks the system
hostname, and that the registered device name matches it. Each runtime probe
pass-skips when the daemon is down or logged out.
charly.yml— thetailscale-up:candy entity (therequire:onlayer-tailscale, the deployrun:task, the runtimecheck:probes) and the embeddedtailscale-up-skill:skill entity.CHANGELOG/— per-CalVer release history..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Owning skill:
/charly-infrastructure:tailscale-up /charly-infrastructure:tailscale— the install-side companion this layer requires/charly-local:local-deploy— thetarget: localexecution model/charly-local:local-spec—local.ymltemplate authoring; canonical consumerlocal.charly-cachyos/charly-core:deploy— thecharly.ymltunnel: tailscalemechanism that consumes the--operatorpermissionopencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella