Skip to content

Comments

feat(script): add tailscale#169

Open
AeroXuk wants to merge 2 commits intoeshtek:devfrom
AeroXuk:feature/tailscale
Open

feat(script): add tailscale#169
AeroXuk wants to merge 2 commits intoeshtek:devfrom
AeroXuk:feature/tailscale

Conversation

@AeroXuk
Copy link

@AeroXuk AeroXuk commented Feb 7, 2026

Introduce a new installation script for Tailscale, including configuration options and requirements. Update documentation to reflect the addition.

This is based on the Custom Install Script found at https://hub.hexos.com/topic/4267-trial-tailscale-custom-install/.

I've editted and validated the install script against the TrueNAS app schema.

The following changes were made to the version from the forum:

  • Removed default values for questions.
  • Used the TrueNAS app schema descriptions in the installation_questions descriptions.
  • Added application state directory to ensure_directories_exists.
  • Added accept_routes to app_values with the default value from the truenas app schema.
  • Reduced resource limits after observing the app running.

@SimJoSt
Copy link
Contributor

SimJoSt commented Feb 21, 2026

Tested it, without reading the code itself.
It worked, after I finally read the hostname character requirements.

It's unfortunate, that it's not possible to validate the validity of the hostname string in a better way. If something incompatible is entered, it just fails without clear feedback. That could trip up non-technical users.

{
"question": "Hostname",
"description": "The hostname for Tailscale Node.\nOnly lowercase letters, numbers, and hyphens are allowed.\nSame as `--hostname` flag.",
"placeholder": "$SERVER_HOST_NAME",
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not the biggest fan of the hostname placeholder $SERVER_HOST_NAME.
It'd prefer something that the user might actually enter, like hexos.

@SimJoSt
Copy link
Contributor

SimJoSt commented Feb 21, 2026

Are you considering adding more question for the remaining options, like exit node mode?

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