init-pki: Remove SECOND confirmation promoting use of option 'soft'
The option 'soft' for 'init-pki' has been found to be flawed, because keeping the 'vars' file in the PKI is now forbidden. The 'soft' option will be removed in due course. Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
eedb81e0e0
commit
7684b975ca
@ -1293,15 +1293,6 @@ and initialize a fresh PKI here."
|
||||
# now remove it:
|
||||
case "$reset" in
|
||||
hard)
|
||||
|
||||
# Promote use of soft init
|
||||
confirm "Remove current 'vars' file? " yes "\
|
||||
* SECOND WARNING!!!
|
||||
|
||||
* This will remove everything in your current PKI directory.
|
||||
To keep your current settings use 'init-pki soft' instead.
|
||||
Using 'init-pki soft' is recommended."
|
||||
|
||||
# # # shellcheck disable=SC2115 # Use "${var:?}"
|
||||
rm -rf "$EASYRSA_PKI" || \
|
||||
die "init-pki hard reset failed."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user