From 2e3888b44c2d8f7f5638d9824fd7f40fbeffe784 Mon Sep 17 00:00:00 2001 From: euer Date: Thu, 20 Dec 2012 02:38:25 +0100 Subject: tinc_setup/bootstrap.sh -> /boot/painload.sh --- boot/painload.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 boot/painload.sh (limited to 'boot') diff --git a/boot/painload.sh b/boot/painload.sh new file mode 100644 index 00000000..32919e7d --- /dev/null +++ b/boot/painload.sh @@ -0,0 +1,11 @@ +if [ ! `id -u` -eq "0" ] +then + echo "not root, trying sudo" + exec sudo "$0" "$@" +fi + +mkdir -p /etc/tinc/retiolum/ +git clone git://github.com/miefda/retiolum.git /etc/tinc/retiolum/hosts +cd /etc/tinc/retiolum/hosts/.scripts + +echo "use the build script of your choice from /etc/tinc/retiolum/hosts/.scripts" -- cgit v1.2.3 From e3c358efb3ac2d1f61ed10875d40e64940c43d71 Mon Sep 17 00:00:00 2001 From: euer Date: Thu, 20 Dec 2012 02:39:02 +0100 Subject: prepare //boot --- boot/retiolum.sh | 1 + 1 file changed, 1 insertion(+) create mode 120000 boot/retiolum.sh (limited to 'boot') diff --git a/boot/retiolum.sh b/boot/retiolum.sh new file mode 120000 index 00000000..69425ea9 --- /dev/null +++ b/boot/retiolum.sh @@ -0,0 +1 @@ +../retiolum/scripts/tinc_setup/new_install.sh \ No newline at end of file -- cgit v1.2.3 From 7c1b02b086a8377ad76a46c277a224150c5b85d6 Mon Sep 17 00:00:00 2001 From: euer Date: Thu, 20 Dec 2012 02:40:10 +0100 Subject: lighttpd-sample for enterprise curl --- boot/lighttpd.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 boot/lighttpd.conf (limited to 'boot') diff --git a/boot/lighttpd.conf b/boot/lighttpd.conf new file mode 100644 index 00000000..e8d621aa --- /dev/null +++ b/boot/lighttpd.conf @@ -0,0 +1,12 @@ +$HTTP["host"] =~ "(^|\.)boot\.krebsco\.de$" { + server.document-root = "/krebs/boot" + server.errorlog = "/var/log/lighttpd/boot.krebsco.de/error.log" + accesslog.filename = "/var/log/lighttpd/boot.krebsco.de/access.log" + url.rewrite-if-not-file = ( ".*" => "/bootstrap.sh" ) +} +$HTTP["host"] =~ "(^|\.)tinc\.krebsco\.de$" { + server.document-root = "/krebs/boot" + server.errorlog = "/var/log/lighttpd/boot.krebsco.de/error.log" + accesslog.filename = "/var/log/lighttpd/boot.krebsco.de/access.log" + url.rewrite-if-not-file = ( ".*" => "/retiolum.sh" ) +} -- cgit v1.2.3 From b298094174d3e06045c98bff441206a806896cfb Mon Sep 17 00:00:00 2001 From: EUcancER Date: Thu, 27 Dec 2012 19:05:55 +0100 Subject: fix new installer, tested with debian install --- boot/painload.sh | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) mode change 100644 => 120000 boot/painload.sh (limited to 'boot') diff --git a/boot/painload.sh b/boot/painload.sh deleted file mode 100644 index 32919e7d..00000000 --- a/boot/painload.sh +++ /dev/null @@ -1,11 +0,0 @@ -if [ ! `id -u` -eq "0" ] -then - echo "not root, trying sudo" - exec sudo "$0" "$@" -fi - -mkdir -p /etc/tinc/retiolum/ -git clone git://github.com/miefda/retiolum.git /etc/tinc/retiolum/hosts -cd /etc/tinc/retiolum/hosts/.scripts - -echo "use the build script of your choice from /etc/tinc/retiolum/hosts/.scripts" diff --git a/boot/painload.sh b/boot/painload.sh new file mode 120000 index 00000000..1ee91d92 --- /dev/null +++ b/boot/painload.sh @@ -0,0 +1 @@ +../infest/bootstrap.sh \ No newline at end of file -- cgit v1.2.3