summaryrefslogtreecommitdiff
path: root/templates/remote_host.erb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-08-10 20:10:23 +0200
committervarac <varacanero@zeromail.org>2013-08-10 20:10:23 +0200
commitf1da3f6ffe640f45ab74521f55389af504375b74 (patch)
tree361f7fea00e0e90355727d9171de07d3f50ecbd1 /templates/remote_host.erb
parent5edc579a6e12bb6c9b3c5743729b7a5a2658000b (diff)
make hostname configurable
Diffstat (limited to 'templates/remote_host.erb')
-rw-r--r--templates/remote_host.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/remote_host.erb b/templates/remote_host.erb
index dbe3945..2c70a37 100644
--- a/templates/remote_host.erb
+++ b/templates/remote_host.erb
@@ -1,5 +1,5 @@
# host <%= name %>
-<% if !(right_id =~ /#{scope.lookupvar('::fqdn')}/) -%>
+<% if !(right_id =~ /#{scope.lookupvar('custom_hostname')}/) -%>
conn <%= name %>
<% if left_ip_address != 'absent' -%>
left=<%= left_ip_address %>