Add tailscale egg and update README with tailscale egg#25
Open
YONN2222 wants to merge 6 commits intopelican-eggs:mainfrom
Open
Add tailscale egg and update README with tailscale egg#25YONN2222 wants to merge 6 commits intopelican-eggs:mainfrom
YONN2222 wants to merge 6 commits intopelican-eggs:mainfrom
Conversation
QuintenQVD0
requested changes
Feb 8, 2026
| }, | ||
| "scripts": { | ||
| "installation": { | ||
| "script": "#!/bin/bash\napt-get update\napt-get install -y curl tar ca-certificates\n\ncd /mnt/server\n\nrm -rf var tailscale.tgz tailscale_*\n\nARCH=$(uname -m)\ncase \"${ARCH}\" in\n x86_64) ARCH=\"amd64\" ;;\n aarch64) ARCH=\"arm64\" ;;\n armv7l) ARCH=\"arm\" ;;\n *) exit 1 ;;\nesac\n\nVERSION=$(curl -s https://api.github.com/repos/tailscale/tailscale/releases/latest | grep '\"tag_name\":' | sed -E 's/.*\"([^\"]+)\".*/\\1/' | sed 's/v//')\n\nif [ -z \"$VERSION\" ]; then\n echo \"Error getting version, falling back to 1.94.1\"\n VERSION=\"1.94.1\"\nfi\n\ncurl -L \"https://pkgs.tailscale.com/stable/tailscale_${VERSION}_${ARCH}.tgz\" -o tailscale.tgz\ntar xzf tailscale.tgz --strip-components=1\n\nrm tailscale.tgz\nrm -rf systemd\n\nchmod +x tailscaled tailscale", |
Contributor
There was a problem hiding this comment.
WHat is up with this order, it should be script, container, entrypoint
tailscale/egg-tailscale.json
Outdated
| "files": "{}", | ||
| "startup": "{\n \"done\": \"Tailscale is running...\"\n}", | ||
| "logs": "{}", | ||
| "stop": "^^C" |
Contributor
There was a problem hiding this comment.
This is invalid it is ^C or ^SIGTERM, ^SIGINT or ^SIGKILL
tailscale/egg-tailscale.json
Outdated
| }, | ||
| "file_denylist": [], | ||
| "startup_commands": { | ||
| "Default": "if [ ! -f ./tailscaled ]; then echo \"Binary missing, please Reinstall Server\"; exit 1; fi; chmod +x ./tailscaled ./tailscale; ./tailscaled --state=tailscaled.state --tun=userspace-networking --socket=/tmp/tailscaled.sock & sleep 5; TS_ARGS=\"--authkey=${TS_AUTHKEY} --hostname=${SERVER_NAME}\"; if [ \"${ENABLE_EXIT_NODE}\" = \"1\" ] || [ \"${ENABLE_EXIT_NODE}\" = \"true\" ]; then TS_ARGS=\"${TS_ARGS} --advertise-exit-node\"; fi; if [ ! -z \"${TS_ROUTES}\" ]; then TS_ARGS=\"${TS_ARGS} --advertise-routes=${TS_ROUTES}\"; fi; echo \"Starting with args: ${TS_ARGS}\"; ./tailscale --socket=/tmp/tailscaled.sock up ${TS_ARGS} && echo \"Tailscale is running...\" && wait" |
Contributor
There was a problem hiding this comment.
The chmod should be done in the install script not here
Contributor
|
Please just export from a panel. Pelican or ptero are fine, use https://redthirten.github.io/scramble-egg-converter/ to convert to the other panel format |
Author
|
Hey @QuintenQVD0 is there anything I should change here? I'm not entirely sure what needs to be updated: #25 (comment) |
Author
|
Hey @QuintenQVD0, I've addressed all the review comments. Could you take another look and let me know if there's anything else that needs to be changed? Thanks! |
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.
Description
Adds a new Egg for Tailscale, a simple VPN that allows secure access to your local network from anywhere. This egg supports running Tailscale as a regular node or as an exit node with optional subnet routing.
Checklist for all submissions
New egg Submissions