diff options
-rw-r--r-- | templates/remote_host.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/remote_host.erb b/templates/remote_host.erb index d3d94b0..3926b76 100644 --- a/templates/remote_host.erb +++ b/templates/remote_host.erb @@ -1,5 +1,5 @@ # host <%= name %> -<% if !(left_id =~ scope.lookupvar('::fqdn')) -%> +<% if !(left_id =~ /#{scope.lookupvar('::fqdn')}/) -%> conn <%= name %> <% if left_ip_address != 'absent' -%> left=<%= left_ip_address %> |