Ensure we don't get prompted for confirmation on init-pki

This commit is contained in:
Kaladin Light 2016-12-05 12:13:09 -05:00
parent 34e6e078e5
commit 27e0fa8bb5

View file

@ -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"