summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader/updater.template.sh
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_upgrader/updater.template.sh')
-rw-r--r--satellit_upgrader/updater.template.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/satellit_upgrader/updater.template.sh b/satellit_upgrader/updater.template.sh
index ebab457..8f11d45 100644
--- a/satellit_upgrader/updater.template.sh
+++ b/satellit_upgrader/updater.template.sh
@@ -325,6 +325,14 @@ if [ -n "$TGZ_LDADP" ]; then
echo "LDADP upgrade complete"
fi
+# ************************** tmate ************************
+
+echo "deb http://ftp.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/10-added_repos.list
+apt-get update || pwarning "Adding backborts repo: update failed" && \
+ echo "Repository backports added."
+apt-get install tmate || pwarning "Could not install tmate. Please check whether repo backports was added and install ba hand." && \
+ echo "tmate istalled."
+
# ************************ sudo config *********************
if [ -n "$FILEDIR/tm-sudo-config" ]; then
cp -f "$FILEDIR/tm-sudo-config" "/etc/sudoers.d/taskmanager" || pwarning "Could not update sudo conf for taskmanager"