On Sun, Aug 15, 2010 at 06:05:20PM +0200, Perry Couprie wrote:

> Is it possible to use the chroot option during generation of the tinc keys.
> I want to use it like this.
> 
> mkdir -p /tmp/chroot/etc/tinc/demo/hosts
> 
> tincd --root /etc/chroot -K -n demo
> 
> I am creating script to generate config files.
> And i want to create tmp files first before i copy them to /etc

What you can do is this:

tincd --config=/tmp/chroot/etc/tinc/demo -K

Create the tinc.conf file before generating keys, so that the public key will
automatically be put in the host config file.

-- 
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