mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-19 19:30:16 +00:00
Update install.sh
This commit is contained in:
parent
64353e337b
commit
a2f7ef7e34
1 changed files with 2 additions and 2 deletions
|
@ -763,8 +763,8 @@ 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}"
|
||||||
|
|
||||||
declare -A ECDSA_MAP=(["256"]="prime256v1" ["384"]="secp384r1" ["521"]="secp521r1")
|
declare -A ECDSA_MAP=(["256"]="prime256v1" ["384"]="secp384r1" ["521"]="secp521r1")
|
||||||
|
|
Loading…
Reference in a new issue