gaurav1986 Hi Team, I am looking for CLI commands to do the following on an openvpn launched from an AMI created from another openvpnas: - change hostname Since the AMI would launch an exact copy of access-server the hostname would also be the hostname of the server the image was created from. It's quite easy to just replace the name from web UI but my problem is I am trying to use this AMI in my cloudformation script and need to automate this by passing CLI commands via user-data. I have been trying to google for a while but could not really find much. Any help would mean world. Thank you in advance. !!
The Johan Look at these commands: cd /usr/local/openvpn_as/scripts/ ./confdba -s ./confdba -mk "parameter.name.here" -v "new.value.here" ./sacli start And https://docs.openvpn.net/access-server/ - specifically the command line section.