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/bash | |
FILENAME="private.img"; | |
FILESIZE="100M"; | |
# Create encrypted volume if it doesn't exist | |
if [ ! -f $FILENAME ]; then | |
echo "Creating image file..."; | |
dd if=/dev/zero of=$FILENAME bs=$FILESIZE count=0 seek=1 |
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/bash | |
# Requires cli53 to be installed | |
# https://github.com/barnybug/cli53 | |
DNS_NAME="home"; | |
DNS_ZONE="example.com"; | |
export AWS_ACCESS_KEY_ID= | |
export AWS_SECRET_ACCESS_KEY= |