summaryrefslogtreecommitdiffstats
path: root/cholerab/install_stories/debian_squeeze_minimal
diff options
context:
space:
mode:
authorroot <root@krebs>2011-08-25 18:29:59 +0200
committerroot <root@krebs>2011-08-25 18:29:59 +0200
commit868c9212e1797e7cad18513670beb13c08ae0e1c (patch)
treec6b6a2df82e76fc3024fde36a04682fdded05332 /cholerab/install_stories/debian_squeeze_minimal
parent561bf3b9b71cda97c1a726a5e8d6dc7801714ae1 (diff)
parente7f09d7285672763b836f20881cb2248d85ed606 (diff)
Merge branch 'master' of github.com:/krebscode/painload
Conflicts: evan/satz-liste
Diffstat (limited to 'cholerab/install_stories/debian_squeeze_minimal')
-rw-r--r--cholerab/install_stories/debian_squeeze_minimal23
1 files changed, 23 insertions, 0 deletions
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