diff options
author | mh <mh@immerda.ch> | 2013-01-03 18:16:14 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-03 18:16:14 +0100 |
commit | 19faa5112c736788ac0ad73eaad8009267be0ad0 (patch) | |
tree | aad3070f9c85d26738a0836ac16aa061150fe3c7 /templates | |
parent | 8c0be5689023b85062fe88e6e19131ac4248c4cb (diff) |
make it possible to configure a right subnet
Diffstat (limited to 'templates')
-rw-r--r-- | templates/remote_host.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/remote_host.erb b/templates/remote_host.erb index 4193506..5a22ca9 100644 --- a/templates/remote_host.erb +++ b/templates/remote_host.erb @@ -3,6 +3,9 @@ conn <%= name %> right=<%= right_ip_address %> rightid=@<%= right_id %> rightcert=<%= right_cert_name %>.asc +<% unless right_subnet.empty? -%> + rightsubnet=<%= right_subnet.join(',') %> +<% end -%> type=transport auto=start |