Update tinc/lixonet/tinc.conf.tmpl, build.sh files
This commit is contained in:
parent
eeed147b50
commit
3e78c7743c
13
build.sh
13
build.sh
@ -1,3 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
# Tinc
|
||||
# Remove existing configuration
|
||||
rm -rf /etc/tinc/*
|
||||
# Copy all non-template files to /etc/(tinc)
|
||||
find tinc -type d | xargs -I '{}' mkdir -p /etc/{}
|
||||
find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp {} /etc/{}
|
||||
# Mutate templates to /etc/(tinc) as well
|
||||
#TODO
|
||||
|
||||
# Bird
|
||||
rm -rf /etc/bird/*
|
||||
|
||||
docker-compose up -d --build
|
||||
|
Loading…
x
Reference in New Issue
Block a user