Skip to content
This repository was archived by the owner on Mar 6, 2022. It is now read-only.

1) README.md update, 2) bug fix #171

Merged
merged 3 commits into from
Sep 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Rather than providing random binaries of RattlesnakeOS to install on your phone,
```
keypair_name="rattlesnakeos"
ssh-keygen -t rsa -b 4096 -f ${keypair_name}
for region in $(aws ec2 describe-regions --output text | awk '{print $4}'); do
for region in $(aws ec2 describe-regions --query "Regions[*].RegionName" --output text); do
echo "Importing keypair ${keypair_name} to region ${region}..."
aws ec2 import-key-pair --key-name "${keypair_name}" --public-key-material "file://${keypair_name}.pub" --region $region;
done
Expand Down
2 changes: 1 addition & 1 deletion cli/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ var buildListCmd = &cobra.Command{
log.Fatalf("Failed to setup AWS session: %v", err)
}

log.Infof("Looking for builds for stack %v in the following regions: %v", name, instanceRegions)
log.Infof("Looking for builds for stack %v in the following regions: %v", name, listRegions)
runningInstances := 0
for _, region := range strings.Split(listRegions, ",") {
ec2Client := ec2.New(sess, &aws.Config{Region: &region})
Expand Down