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
import random | |
import re | |
from nailgun import client | |
from nailgun import entity_mixins | |
from nailgun.config import ServerConfig | |
from nailgun.entities import ( | |
ActivationKey, | |
ContentView, | |
ContentViewVersion, |
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
#!/usr/bin/env sh | |
# Install fortello on to an Amazon EC2 instance. Make sure to set the variables | |
# in the head of this script. | |
set -o errexit -o nounset | |
# By default the EC2 instance's hostname matches its internal hostname. The | |
# fields ${private_ips} and ${public_dns} can be found in the EC2 Dashboard page | |
# when you select your instance. | |
readonly private_ips= |