add Teleport script

This commit is contained in:
tremor021
2026-03-18 13:39:51 +01:00
parent fdd9a22992
commit ec12d0f31a
3 changed files with 117 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2026 community-scripts ORG
# Author: Slaviša Arežina (tremor021)
# License: MIT | https://github.com/community-scripts/ProxmoxVED/raw/main/LICENSE
# Source: https://goteleport.com/
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
color
verb_ip6
catch_errors
setting_up_container
network_check
update_os
setup_deb822_repo \
"teleport" \
"https://deb.releases.teleport.dev/teleport-pubkey.asc" \
"https://apt.releases.teleport.dev/debian" \
"trixie" \
"stable/v18"
msg_info "Configuring Teleport"
$STD teleport configure -o /etc/teleport.yaml
systemctl enable -q --now teleport
$STD tctl users add teleport-admin --roles=editor,access --logins=root >~/teleportadmin.creds
msg_ok "Configured CaddyManager"
motd_ssh
customize
cleanup_lxc