Commit 3ff7ca51 authored by Holger Levsen's avatar Holger Levsen

add stretch-backports to sources.list

Signed-off-by: Holger Levsen's avatarHolger Levsen <>
parent 3175761a
......@@ -29,6 +29,7 @@ addgroup --system jenkins-adm
adduser --system --shell /bin/bash --home /home/jenkins-adm --ingroup jenkins-adm --disabled-login jenkins-adm
usermod -G jenkins jenkins-adm
echo '%jenkins-adm ALL= NOPASSWD: ALL' > /etc/sudoers.d/jenkins-adm # will be overwritten later
grep -q stretch-backports /etc/apt/sources.list || echo "deb stretch-backports main contrib non-free" > /etc/apt/sources.list
chown jenkins-adm.jenkins-adm /home/jenkins-adm
cd ~jenkins-adm
[ -x /usr/bin/git ] || apt-get install -y git
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment