unattended install

Sich sich at cafe-philo.net
Sun Dec 28 12:59:32 CET 2014


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
> tinc at tinc-vpn.org
> http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20141228/f281b7ea/attachment.html>


More information about the tinc mailing list