summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/build_debian.sh
blob: 3f21ec6e89c9c7fc40bc7620823694b84ea9e333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
set -x
MYIP=10.0.7.7.55

apt-get install tinc git curl python

git clone https://github.com/makefu/shack-retiolum.git

cd shack-retiolum

./install.sh `hostname` $MYIP

rm shack-retiolum
# for autostart
echo "retiolum" >> /etc/tinc/nets.boot
echo "EXTRA=\"\"" >> /etc/default/tinc