Attempt to share vpn files
diff --git a/xos/configurations/devel/docker-compose.yml b/xos/configurations/devel/docker-compose.yml
index fa3baa8..275329f 100644
--- a/xos/configurations/devel/docker-compose.yml
+++ b/xos/configurations/devel/docker-compose.yml
@@ -28,6 +28,7 @@
- ctl:${MYIP}
volumes:
- ../setup/id_rsa:/opt/xos/synchronizers/vpn/vpn_private_key:ro # private key
+ - ../../core/static/vpn:/opt/xos/core/static/vpn:rw
# FUTURE
#xos_swarm_synchronizer:
@@ -46,3 +47,4 @@
volumes:
- ../setup:/root/setup:ro
- ../common/xos_common_config:/opt/xos/xos_configuration/xos_common_config:ro
+ - ../../core/static/vpn:/opt/xos/core/static/vpn:rw
diff --git a/xos/synchronizers/vpn/steps/sync_vpntenant.py b/xos/synchronizers/vpn/steps/sync_vpntenant.py
index 3e9e343..0ac9b92 100644
--- a/xos/synchronizers/vpn/steps/sync_vpntenant.py
+++ b/xos/synchronizers/vpn/steps/sync_vpntenant.py
@@ -49,7 +49,7 @@
# make sure openvpn is installed
script.write("apt-get update\n")
script.write("apt-get install openvpn\n")
- script.write("openvpn client.conf &")
+ script.write("openvpn client.conf &\n")
# close the script
script.close()