Add remote host and remote port to the profile template

This commit is contained in:
Sergey Abramchuk
2018-09-27 17:15:51 +03:00
parent bc578b423e
commit 1beeda999e
3 changed files with 18 additions and 3 deletions
+2
View File
@@ -25,6 +25,8 @@ end
OPENVPN_USERNAME = ENV["OPENVPN_USERNAME"]
OPENVPN_PASSWORD = ENV["OPENVPN_PASSWORD"]
OPENVPN_CONFIGURATION = ENV["OPENVPN_CONFIGURATION"]
OPENVPN_REMOTE_HOST = ENV["OPENVPN_REMOTE_HOST"]
OPENVPN_REMOTE_PORT = ENV["OPENVPN_REMOTE_PORT"]
template_content = File.read(template_file)
erb_template = ERB.new(template_content, nil, ">")