File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1182,10 +1182,9 @@ def populate_cloudconfig(self, obj_attr_list) :
11821182 cloudconfig += " - rm -f /etc/openvpn/*.conf /etc/openvpn/*.ovpn\n "
11831183 cloudconfig += " - mv /tmp/cbvpn.conf " + conf_destination + "\n "
11841184 cloudconfig += " - mkdir -p /var/log/openvpn\n "
1185- cloudconfig += " - openvpn --daemon --config " + conf_destination + "\n "
1186-
1187- # cloudconfig += " - systemctl start openvpn@" + obj_attr_list["cloud_name"] + "_client-cb-openvpn-cloud.service\n"
1188- # cloudconfig += " - service openvpn start\n"
1185+ #cloudconfig += " - openvpn --daemon --config " + conf_destination + "\n"
1186+ cloudconfig += " - systemctl start openvpn@" + obj_attr_list ["cloud_name" ] + "_client-cb-openvpn-cloud.service\n "
1187+ cloudconfig += " - service openvpn start\n "
11891188
11901189 # Check to see if the user requested packages to be installed for this VM role via cloud-init
11911190 if obj_attr_list ["cloudinit_packages" ].lower () != "false" :
You can’t perform that action at this time.
0 commit comments