Skip to content

Commit

Permalink
Merge branch 'TinCanTech-promote-init-pki-soft'
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Jan 1, 2023
2 parents b56357e + 0121cc0 commit 4bcfe5b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,16 @@ 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:?}" to ensure
rm -rf "$EASYRSA_PKI" || \
die "init-pki hard reset failed."
Expand Down

0 comments on commit 4bcfe5b

Please sign in to comment.