summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-10 21:05:33 +0200
committerFelix Richter <Felix.Richter@syntax-fehler.de>2011-05-10 21:05:33 +0200
commit47e76beaf3e82a91588ca9c9f75909e3e9b97c60 (patch)
tree8fd647d5c4ba92768d6794ee4724c7c305ff12db
parent3b1eb1de09b05a15770b71724cdeb57bb2f353e8 (diff)
migrate to new repo layout
README: added new clean install script description build_debian.sh: updated build_debian script (might still be broken) install.sh: updated script to work with new layout (untested)
-rw-r--r--.scripts/README (renamed from README)6
-rwxr-xr-x.scripts/build_arch.sh (renamed from build_arch.sh)0
-rwxr-xr-x.scripts/build_debian.sh (renamed from build_debian.sh)4
-rwxr-xr-x.scripts/build_debian_clean.sh (renamed from build_debian_clean.sh)0
-rwxr-xr-x.scripts/build_ec2.sh (renamed from build_ec2.sh)0
-rw-r--r--.scripts/build_no.de.sh (renamed from build_no.de.sh)0
-rwxr-xr-x.scripts/install.sh (renamed from install.sh)4
-rw-r--r--ITART (renamed from hosts/ITART)0
-rw-r--r--Lassulus (renamed from hosts/Lassulus)0
-rw-r--r--UTART (renamed from hosts/UTART)0
-rw-r--r--alphalabs (renamed from hosts/alphalabs)0
-rw-r--r--also (renamed from hosts/also)0
-rw-r--r--foobaz (renamed from hosts/foobaz)0
-rw-r--r--kaah (renamed from hosts/kaah)0
-rw-r--r--krebs (renamed from hosts/krebs)0
-rw-r--r--miefda901 (renamed from hosts/miefda901)0
-rw-r--r--miefdahome (renamed from hosts/miefdahome)0
-rw-r--r--miefdat (renamed from hosts/miefdat)0
-rw-r--r--no_omo (renamed from hosts/no_omo)0
-rw-r--r--pa_sharepoint (renamed from hosts/pa_sharepoint)0
-rw-r--r--pfleidi (renamed from hosts/pfleidi)0
-rw-r--r--pornocauster (renamed from hosts/pornocauster)0
-rw-r--r--supernode (renamed from hosts/supernode)0
-rw-r--r--tart (renamed from hosts/tart)0
-rw-r--r--ytart (renamed from hosts/ytart)0
25 files changed, 9 insertions, 5 deletions
diff --git a/README b/.scripts/README
index e6ae9454..8d104179 100644
--- a/README
+++ b/.scripts/README
@@ -4,9 +4,11 @@ This directory contains the build and install scripts for shack-retiolum
arch linux build script
2. build_debian
debian build script
-3. build_ec2
+3. build_debian_clean
+ debian script which builds a clean tinc daemon
+4. build_ec2
Amazon ec2 base instance build script
-4. install.sh
+5. install.sh
configures the tinc daemon
$1 is the nickname
$2 is the ip-address
diff --git a/build_arch.sh b/.scripts/build_arch.sh
index 5ef5d765..5ef5d765 100755
--- a/build_arch.sh
+++ b/.scripts/build_arch.sh
diff --git a/build_debian.sh b/.scripts/build_debian.sh
index 3f21ec6e..d8fcec2f 100755
--- a/build_debian.sh
+++ b/.scripts/build_debian.sh
@@ -9,8 +9,10 @@ git clone https://github.com/makefu/shack-retiolum.git
cd shack-retiolum
./install.sh `hostname` $MYIP
-
+cd ..
rm shack-retiolum
# for autostart
+sed -i '/retiolum/d' /etc/tinc/nets.boot
echo "retiolum" >> /etc/tinc/nets.boot
+sed -i '/EXTRA/d' /etc/tinc/nets.boot
echo "EXTRA=\"\"" >> /etc/default/tinc
diff --git a/build_debian_clean.sh b/.scripts/build_debian_clean.sh
index a7332f4e..a7332f4e 100755
--- a/build_debian_clean.sh
+++ b/.scripts/build_debian_clean.sh
diff --git a/build_ec2.sh b/.scripts/build_ec2.sh
index 79f2af28..79f2af28 100755
--- a/build_ec2.sh
+++ b/.scripts/build_ec2.sh
diff --git a/build_no.de.sh b/.scripts/build_no.de.sh
index 2976d3a2..2976d3a2 100644
--- a/build_no.de.sh
+++ b/.scripts/build_no.de.sh
diff --git a/install.sh b/.scripts/install.sh
index af461a30..4b21bcd4 100755
--- a/install.sh
+++ b/.scripts/install.sh
@@ -3,7 +3,7 @@
set -e
myname="${1:-dummy}"
-rel_hostsfile=`dirname $0`/hosts
+rel_hostsfile=`dirname $0`/..
hostsfile=`readlink -f $rel_hostsfile`
netname=retiolum
myipv4="${2:-10.7.7.56}"
@@ -14,7 +14,7 @@ mkdir -p /etc/tinc/$netname
cd /etc/tinc/$netname
# get currently known hosts
-cp -r $hostsfile .
+cp -r $hostsfile hosts
echo "added known hosts:"
ls -1 | LC_ALL=C sort
echo "delete the nodes you do not trust!"
diff --git a/hosts/ITART b/ITART
index 953c0995..953c0995 100644
--- a/hosts/ITART
+++ b/ITART
diff --git a/hosts/Lassulus b/Lassulus
index 61c2d62b..61c2d62b 100644
--- a/hosts/Lassulus
+++ b/Lassulus
diff --git a/hosts/UTART b/UTART
index 43cd213a..43cd213a 100644
--- a/hosts/UTART
+++ b/UTART
diff --git a/hosts/alphalabs b/alphalabs
index 6aea1dec..6aea1dec 100644
--- a/hosts/alphalabs
+++ b/alphalabs
diff --git a/hosts/also b/also
index 9f9dcd73..9f9dcd73 100644
--- a/hosts/also
+++ b/also
diff --git a/hosts/foobaz b/foobaz
index 47ac4d6e..47ac4d6e 100644
--- a/hosts/foobaz
+++ b/foobaz
diff --git a/hosts/kaah b/kaah
index d56014fa..d56014fa 100644
--- a/hosts/kaah
+++ b/kaah
diff --git a/hosts/krebs b/krebs
index 4aba5105..4aba5105 100644
--- a/hosts/krebs
+++ b/krebs
diff --git a/hosts/miefda901 b/miefda901
index a1b59a29..a1b59a29 100644
--- a/hosts/miefda901
+++ b/miefda901
diff --git a/hosts/miefdahome b/miefdahome
index 9a9f4310..9a9f4310 100644
--- a/hosts/miefdahome
+++ b/miefdahome
diff --git a/hosts/miefdat b/miefdat
index 43e2a6e6..43e2a6e6 100644
--- a/hosts/miefdat
+++ b/miefdat
diff --git a/hosts/no_omo b/no_omo
index f2398f18..f2398f18 100644
--- a/hosts/no_omo
+++ b/no_omo
diff --git a/hosts/pa_sharepoint b/pa_sharepoint
index 384a7c22..384a7c22 100644
--- a/hosts/pa_sharepoint
+++ b/pa_sharepoint
diff --git a/hosts/pfleidi b/pfleidi
index 416658cf..416658cf 100644
--- a/hosts/pfleidi
+++ b/pfleidi
diff --git a/hosts/pornocauster b/pornocauster
index eee28777..eee28777 100644
--- a/hosts/pornocauster
+++ b/pornocauster
diff --git a/hosts/supernode b/supernode
index 5cee4e32..5cee4e32 100644
--- a/hosts/supernode
+++ b/supernode
diff --git a/hosts/tart b/tart
index 986140ee..986140ee 100644
--- a/hosts/tart
+++ b/tart
diff --git a/hosts/ytart b/ytart
index 9f45cd2f..9f45cd2f 100644
--- a/hosts/ytart
+++ b/ytart