diff options
author | Andrew Cady <d@jerkface.net> | 2020-05-14 15:39:30 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-05-14 15:39:30 -0400 |
commit | 88baafbdd68cbd79362502500ef042e482b86657 (patch) | |
tree | 435366ab36eba281c31139f69cdda6f68cb71634 /patchroot.sh | |
parent | 5da330114348948f3f3fe642a96e4d2b3eaa6cdb (diff) |
add "patchroot.sh" mechanism
Diffstat (limited to 'patchroot.sh')
-rw-r--r-- | patchroot.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patchroot.sh b/patchroot.sh new file mode 100644 index 0000000..54a37e2 --- /dev/null +++ b/patchroot.sh | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/sh | ||
2 | echo samizdat > /etc/hostname | ||
3 | cat <<END > /etc/apt/sources.list | ||
4 | deb http://httpredir.debian.org/debian stretch main #contrib non-free | ||
5 | deb http://security.debian.org stretch/updates main #contrib non-free | ||
6 | #deb http://httpredir.debian.org/debian stretch-backports main #contrib non-free | ||
7 | END | ||
8 | |||
9 | #apt-get update | ||
10 | cat /var/lib/apt/lists/*_Packages | dpkg --update-avail - | ||
11 | |||
12 | #apt-get -yd install baresip | ||
13 | apt-mark install baresip | ||