Skip to content

Instantly share code, notes, and snippets.

@dpastoor
Last active November 11, 2022 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpastoor/651e159fd380f5506fc00c88a25b5d0a to your computer and use it in GitHub Desktop.
Save dpastoor/651e159fd380f5506fc00c88a25b5d0a to your computer and use it in GitHub Desktop.
bootstrap-tailscale-vm
type -p curl >/dev/null || sudo apt install curl -y
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
&& sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
sudo apt install curl
curl -fsSL https://tailscale.com/install.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment