Maybe fix client script
diff --git a/xos/services/vpn/templates/connect.vpn.j2 b/xos/services/vpn/templates/connect.vpn.j2
index 6af4fe9..bc46fac 100644
--- a/xos/services/vpn/templates/connect.vpn.j2
+++ b/xos/services/vpn/templates/connect.vpn.j2
@@ -1,38 +1,24 @@
#! /bin/bash
# This file autogenerated by VPNTenant.
# It contains a script used to generate the OPENVPN client files.
-printf "%b" "
-client\n
-dev tun\n
-remote-cert-tls server\n
-resolv-retry 60\n
-nobind\n
-ca ca.crt\n
-cert {{ client_name }}.crt\n
-key {{ client_name }}.key\n
+printf "%b" "client
+dev tun
+remote-cert-tls server
+resolv-retry 60
+nobind
+ca ca.crt
+cert {{ client_name }}.crt
+key {{ client_name }}.key
verb 3
-{% for tenant in remotes %}
-remote {{ tenant.nat_ip }} {{ tenant.port_number }} {{ tenant.protocol }}\n
-{% endfor %}
-{% if is_persistent %}
-persist-tun\n
-persist-key\n
-{% endif %}
+{% 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 }}\n
-{% endfor %}
+printf "%b" "{% for line in ca_crt %}{{ line }}{% endfor %}
" > ca.crt
-printf "%b" "
-{% for line in client_crt %}
-{{ line }}\n
-{% endfor %}
+printf "%b" "{% for line in client_crt %}{{ line }}{% endfor %}
" > {{ client_name }}.crt
-printf "%b" "
-{% for line in client_key %}
-{{ line }}\n
-{% endfor %}
+printf "%b" "{% for line in client_key %}{{ line }}{% endfor %}
" > {{ client_name }}.key
apt-get update
apt-get install openvpn -y