This script is designed to perform a nightly update of Gravitational Teleport (OpenSource).
- A Debian or RHEL based system
apt
ordnf
installeddnf
: Teleport is installed from a repository named teleportapt
: Teleport is installed from a repository defined in/etc/apt/sources.list.d/teleport.list
The installation can be performed with two commands.
git clone https://github.com/frei-style/teleport-updater.git
sudo bash teleport-updater/install.sh
This will perform the following actions:
- Install the update script to
/usr/local/bin/teleport-updater
- Install a service unit, to call the update script to
/etc/systemd/system/teleport-updater.service
- Install a timer unit, to trigger the update daily at 04:30, to
/etc/systemd/system/teleport-updater.timer
- Enable and activate the timer
There are no security checks or roll-back function. Do not use it in production. It's meant to be used in lab or home environments.