From 5def0bff05d0d6e70717837eead3720dd2ac79e4 Mon Sep 17 00:00:00 2001 From: makefu Date: Wed, 24 Aug 2011 02:22:22 +0200 Subject: krebsnews: initial commit, install_stories install_stories are user stories about the current installation process of a fresh system. This file becomes obsolete as soon as all the code is replaced with a one-liner which does the right thing. --- cholerab/install_stories/debian_squeeze_minimal | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cholerab/install_stories/debian_squeeze_minimal (limited to 'cholerab/install_stories') diff --git a/cholerab/install_stories/debian_squeeze_minimal b/cholerab/install_stories/debian_squeeze_minimal new file mode 100644 index 00000000..0d5e64b2 --- /dev/null +++ b/cholerab/install_stories/debian_squeeze_minimal @@ -0,0 +1,23 @@ +apt-get update +apt-get upgrade +apt-get install curl git-core vim make +curl https://raw.github.com/krebscode/painload/master/util/auto/krebs + +KREBSDIR=${1-/krebs} +[ ! -e $KREBSDIR ] && git clone https://github.com/krebscode/painload ${KREBSDIR}|| printf "painload already deployed\n" +cp /krebs/infest/skel/etc/profile /etc/profile +# not copying rc.local +cp /krebs/infest/skel/home /root +# not copying .ssh +cp /krebs/infest/skel/etc/motd.tail /etc/motd.tail +cp /krebs/infest/skel/etc/motd.tail /etc/motd + +# retiolum +apt-get install python +# fix matcher script +# fix makefile + +# fix fuer vhosts die tun haben aber noch nicht eingerichtet +mkdir /dev/net +mknod /dev/net/tun c 10 200 +mknod /dev/tap0 c 36 16 -- cgit v1.2.3