Update install.sh

This commit is contained in:
IcedComputer 2019-08-27 15:46:56 -07:00 committed by GitHub
parent 64353e337b
commit a2f7ef7e34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -763,7 +763,7 @@ confOpenVPN() {
# Grab the existing Hostname # Grab the existing Hostname
HOST_NAME=$(hostname -s) HOST_NAME=$(hostname -s)
# Generate a random UUID for this server so that we can use verify-x509-name later that is unique for this server installation. # Generate a random UUID for this server so that we can use verify-x509-name later that is unique for this server installation.
$NEW_UUID=$(</proc/sys/kernel/random/uuid) NEW_UUID=$(</proc/sys/kernel/random/uuid)
# Create a unique server name using the host name and UUID # Create a unique server name using the host name and UUID
SERVER_NAME="${HOST_NAME}_${NEW_UUID}" SERVER_NAME="${HOST_NAME}_${NEW_UUID}"