On Sat, May 11, 2013 at 01:00:17PM +0200, Rene Bartsch wrote: > even with only five nodes one looses track of changed configs and host > files after adding/removing a node or changing the config (e.g. ConnectTo). > It would be great if one can just copy a default tinc.conf to all nodes. > Show-stoppers are the ConnectTo- and Name-options. ConnectTo is be replaced > by Autoconnect, but one still needs to set the Name of a node. Using > environment variables in tinc.conf like $HOSTNAME would simplify matters. > > Is it possible to use environment variables in tinc.conf? If not, this is a > feature request to enable enviroment variables in tinc.conf or add a flag > "HOST" to the Name option (Name = HOST) which resolves the hostname as node > name.
Yes, with version 1.0.21 or 1.1pre7, you can use environment variables for the Name option (but not for any other option). http://www.tinc-vpn.org/documentation/tinc_4.html#index-Name -- Met vriendelijke groet / with kind regards, Guus Sliepen <[email protected]>
signature.asc
Description: Digital signature
_______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
