added vpn host & port definition to boostraping tasks

This commit is contained in:
Spyros Ligouras 2013-07-18 14:24:47 +03:00
parent d46f471571
commit 095bcb070d

View File

@ -39,6 +39,7 @@ bootstrapTasks = [
fs.writeFileSync('/etc/openvpn/ca.crt', body.ca)
fs.writeFileSync('/etc/openvpn/client.crt', body.cert)
fs.writeFileSync('/etc/openvpn/client.key', body.key)
fs.appendFileSync('/etc/openvpn/client.conf', "remote #{body.vpnhost} #{body.vpnport}")
callback(null)
)