summaryrefslogtreecommitdiff
path: root/patchroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'patchroot.sh')
-rw-r--r--patchroot.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/patchroot.sh b/patchroot.sh
index 54a37e2..8bd3269 100644
--- a/patchroot.sh
+++ b/patchroot.sh
@@ -1,9 +1,12 @@
1#!/bin/sh 1#!/bin/sh
2echo samizdat > /etc/hostname 2echo samizdat > /etc/hostname
3
4. /etc/os-release
5
3cat <<END > /etc/apt/sources.list 6cat <<END > /etc/apt/sources.list
4deb http://httpredir.debian.org/debian stretch main #contrib non-free 7deb http://httpredir.debian.org/debian ${VERSION_CODENAME} main #contrib non-free
5deb http://security.debian.org stretch/updates main #contrib non-free 8deb http://security.debian.org ${VERSION_CODENAME}/updates main #contrib non-free
6#deb http://httpredir.debian.org/debian stretch-backports main #contrib non-free 9#deb http://httpredir.debian.org/debian ${VERSION_CODENAME}-backports main #contrib non-free
7END 10END
8 11
9#apt-get update 12#apt-get update