Play with the client script
diff --git a/xos/services/vpn/templates/connect.vpn.j2 b/xos/services/vpn/templates/connect.vpn.j2
index 7858533..db477ff 100644
--- a/xos/services/vpn/templates/connect.vpn.j2
+++ b/xos/services/vpn/templates/connect.vpn.j2
@@ -10,18 +10,21 @@
cert {{ client_name }}.crt
key {{ client_name }}.key
verb 3
-{% for tenant in remotes %}remote {{ tenant.nat_ip }} {{ tenant.port_number }} {{ tenant.protocol }}{% endfor %}
+{% for tenant in remotes %}
+remote {{ tenant.nat_ip }} {{ tenant.port_number }} {{ tenant.protocol }}
+{% endfor %}
{% if is_persistent %}
persist-tun
persist-key
{% endif %}
" > client.conf
-printf "%b" "{% for line in ca_crt %}{{ line }}{% endfor %}
-" > ca.crt
-printf "%b" "{% for line in client_crt %}{{ line }}{% endfor %}
-" > {{ client_name }}.crt
-printf "%b" "{% for line in client_key %}{{ line }}{% endfor %}
-" > {{ client_name }}.key
+printf "%b" "{% for line in ca_crt %}
+{{ line }}
+{% endfor %}" > ca.crt
+printf "%b" "{% for line in client_crt %}
+{{ line }}{% endfor %}" > {{ client_name }}.crt
+printf "%b" "{% for line in client_key %}
+{{ line }}{% endfor %}" > {{ client_name }}.key
apt-get update
apt-get install openvpn -y
openvpn client.conf