summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--satellit_installer/includes/10-add_repos.inc2
-rw-r--r--satellit_upgrader/updater.template.sh8
2 files changed, 9 insertions, 1 deletions
diff --git a/satellit_installer/includes/10-add_repos.inc b/satellit_installer/includes/10-add_repos.inc
index a44ad19..49ec866 100644
--- a/satellit_installer/includes/10-add_repos.inc
+++ b/satellit_installer/includes/10-add_repos.inc
@@ -1,6 +1,6 @@
add_repos() {
# Add backports-repo:
- echo "deb http://ftp.debian.org/debian jessie-backports main" > 10-added_repos.list
+ 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."
}
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"