summaryrefslogtreecommitdiffstats
path: root/satellit_upgrader/updater.template.sh
diff options
context:
space:
mode:
authorChristian Rößler2016-09-09 18:05:06 +0200
committerChristian Rößler2016-09-09 18:05:06 +0200
commit53466cdbf097790fe2adfee6f8062af02f377fbc (patch)
tree1985203f12b6a79a8f91f6ca15d015422bfc2712 /satellit_upgrader/updater.template.sh
parent[SSPS/SSUS] Added repo jessie-backports, tmate-install (diff)
downloadsetup-scripts-53466cdbf097790fe2adfee6f8062af02f377fbc.tar.gz
setup-scripts-53466cdbf097790fe2adfee6f8062af02f377fbc.tar.xz
setup-scripts-53466cdbf097790fe2adfee6f8062af02f377fbc.zip
[SSPS/SSUS] Added repos, tmate: litte refinements
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"