Update vmcreate1.sh

This commit is contained in:
2025-10-26 14:05:13 +00:00
parent b50c35dd15
commit 74b7bcece7

View File

@@ -169,8 +169,8 @@ if [ -v pubkey ]; then
echo "Private key does not exist. Generate new pair? y/n" echo "Private key does not exist. Generate new pair? y/n"
read input read input
case $input in case $input in
y) read -p "Enter name for your private key: " privkey && keypair_generate ("$privkey");; y) read -p "Enter name for your private key: " privkey && keypair_generate "$privkey";;
Y) read -p "Enter name for your private key: " privkey && keypair_generate ("$privkey");; Y) read -p "Enter name for your private key: " privkey && keypair_generate "$privkey";;
n) echo "Public key is necessary to continue. Please specify or generate new pair.";; n) echo "Public key is necessary to continue. Please specify or generate new pair.";;
N) echo "Public key is necessary to continue. Please specify or generate new pair.";; N) echo "Public key is necessary to continue. Please specify or generate new pair.";;
*) echo "Use '-h' flag for help"; exit 6;; *) echo "Use '-h' flag for help"; exit 6;;