mirror of
https://github.com/pivpn/pivpn.git
synced 2025-02-24 12:08:14 +00:00
Ensure we don't get prompted for confirmation on init-pki
This commit is contained in:
parent
34e6e078e5
commit
27e0fa8bb5
1 changed files with 1 additions and 1 deletions
|
@ -736,7 +736,7 @@ echo "${String}" | $SUDO tee /etc/openvpn/easy-rsa/vars >/dev/null
|
|||
$SUDO sed -i "s/\(KEY_SIZE=\).*/\1 ${ENCRYPT}/" vars
|
||||
|
||||
# Remove any previous keys
|
||||
${SUDOE} ./easyrsa init-pki
|
||||
${SUDOE} ./easyrsa --batch init-pki
|
||||
|
||||
# Build the certificate authority
|
||||
printf "::: Building CA...\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue