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.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <[email protected]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to