mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
don't re-initialize nodes, even if they are not baptized "server"
This commit is contained in:
parent
1b9cd4e8bc
commit
32abb5b597
@ -3,7 +3,7 @@
|
||||
# initialize server profile
|
||||
#
|
||||
|
||||
if [ -f /etc/tinc/${NETNAME}/hosts/server ]
|
||||
if [ -f /etc/tinc/${NETNAME}/rsa_key.priv ]
|
||||
then
|
||||
echo 'Initialized!'
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user