added base tinc config
This commit is contained in:
@ -4,4 +4,7 @@ CONFIG_PATH=/data/options.json
|
|||||||
|
|
||||||
NAME="$(bashio::config 'name')"
|
NAME="$(bashio::config 'name')"
|
||||||
|
|
||||||
|
curl -Lso /data/tinc.config https://gitea.jkoschke.me/Jan/hass-addon-repository/raw/branch/main/tinc-homeassistant/tinc.config
|
||||||
|
sed -i 's|{{NAME}}|'$NAME'|' tinc.config
|
||||||
|
|
||||||
echo $NAME
|
echo $NAME
|
||||||
3
tinc-homeassistant/tinc.conf
Normal file
3
tinc-homeassistant/tinc.conf
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Name = {{NAME}}
|
||||||
|
AdressFamily = ipv4
|
||||||
|
Interface = tun0
|
||||||
Reference in New Issue
Block a user