Option --
batch
You will also need to upgrade your version 2 PKI to version 3:
./easyrsa upgrade pki|ca
You may also like to try:
https://github.com/TinCanTech/easy-tls
Which comes with fully inter-active menus, so you don't need to read so much.
Testing and feedback welcome 8-)