This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [[ $# != 2 ]] ; then | |
echo "Usage: $0 <Size in GB> <Name>" | |
exit 1 | |
fi | |
key=$(openssl rand -base64 100 | sed -e 'N;s/\n//') | |
echo SAVE THIS KEY: $key |