mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-31 00:23:57 +00:00
added vpn host & port definition to boostraping tasks
This commit is contained in:
parent
d46f471571
commit
095bcb070d
@ -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)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user