This file contains hidden or 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 | |
| COREOS_CHANNEL=stable | |
| BASE=http://$COREOS_CHANNEL.release.core-os.net/amd64-usr | |
| AWS_REGION=eu-west-1 | |
| COREOS_VERSION=$(curl -s $BASE/current/version.txt | sed -n 's/COREOS_VERSION=//p') | |
| parse_ami() { | |
| jq -r ".amis | map(select(.name == \"$AWS_REGION\")) | .[].hvm" | |
| } |
This file contains hidden or 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 | |
| BITS=2048 | |
| # In one line: | |
| # rm -f temp.key && ssh-keygen -t rsa -b 2048 -f temp.key -N "" -q && ssh-keygen -e -f temp.key -m PKCS8 | tr "\n" " " && echo && cat temp.key | tr "\n" " " && echo | |
| # In multiple lines: | |
| rm -f temp.key | |
| ssh-keygen -t rsa -b $BITS -f temp.key -N "" -q |
This file contains hidden or 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
| This playbook has been removed as it is now very outdated. |
NewerOlder