unattended install

Guus Sliepen guus at tinc-vpn.org
Sun Dec 28 12:48:52 CET 2014

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 <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20141228/14703c5a/attachment.sig>

More information about the tinc mailing list