Thanks it work fine ! :)
Le 28/12/2014 12:48, Guus Sliepen a écrit :
On Sun, Dec 28, 2014 at 12:25:05PM +0100, Sich wrote:
I am curently trying to make some script to auto install tinc 1.0.25 on
linux servers.
I have some problem with the tincd -n -K to generate the key pairs because
he ask me to validate the files used for the keys....
I have read the man page but I didn't find how to validate this files
without any prompt...
Is there any switch option for this ? Or any solution ?
Tinc only asks for confirmation if it detects that stdin/stdout are to
an interactive terminal. Just redirect stdin from /dev/null and it will
not ask for confirmation anymore:
tincd -n <netname> -K </dev/null
For tinc 1.1 there is a --batch option that has the same effect.
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc