mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 13:20:40 +00:00
Update teleport-install.sh
This commit is contained in:
@@ -25,8 +25,8 @@ $STD apt install -y teleport
|
|||||||
$STD teleport configure -o /etc/teleport.yaml
|
$STD teleport configure -o /etc/teleport.yaml
|
||||||
systemctl enable -q --now teleport
|
systemctl enable -q --now teleport
|
||||||
sleep 10
|
sleep 10
|
||||||
tctl users add teleport-admin --roles=editor,access --logins=root >~/teleportadmin.creds
|
tctl users add teleport-admin --roles=editor,access --logins=root >~/teleportadmin.txt
|
||||||
sed -i "s|https://[^:]*:3080|https://${LOCAL_IP}:3080|g" ~/teleportadmin.creds
|
sed -i "s|https://[^:]*:3080|https://${LOCAL_IP}:3080|g" ~/teleportadmin.txt
|
||||||
msg_ok "Configured Teleport"
|
msg_ok "Configured Teleport"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user