added base tinc config

This commit is contained in:
jkoschke
2022-01-13 00:49:05 +01:00
parent dc509eced9
commit def6bffe67
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,3 @@
Name = {{NAME}}
AdressFamily = ipv4
Interface = tun0