tinc --chroot and generating keys.

Guus Sliepen guus at tinc-vpn.org
Sun Aug 15 18:40:03 CEST 2010


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 <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100815/8b53e869/attachment.pgp>


More information about the tinc mailing list