summaryrefslogtreecommitdiffstats
path: root/retiolum/hosts/build_debian.sh
blob: ecec41a30ba66fe0097ce0ea83220976858203d1 (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

aptitude install tinc git


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

cd shack-retiolum

./install.sh `hostname` $MYIP

# for autostart
echo "retiolum" >> /etc/tinc/nets.boot
echo "EXTRA=\"--user=tincd --chroot\"" >> /etc/default/tinc