mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
Add GCE Western US zones (#319)
This commit is contained in:
parent
e729119b24
commit
bb55985ab4
1 changed files with 30 additions and 26 deletions
56
algo
56
algo
|
@ -253,37 +253,41 @@ Name the vpn server:
|
||||||
|
|
||||||
read -p "
|
read -p "
|
||||||
What zone should the server be located in?
|
What zone should the server be located in?
|
||||||
1. Central US (Iowa A)
|
1. Western US (Oregon A)
|
||||||
2. Central US (Iowa B)
|
2. Western US (Oregon B)
|
||||||
3. Central US (Iowa C)
|
3. Central US (Iowa A)
|
||||||
4. Central US (Iowa F)
|
4. Central US (Iowa B)
|
||||||
5. Eastern US (South Carolina B)
|
5. Central US (Iowa C)
|
||||||
6. Eastern US (South Carolina C)
|
6. Central US (Iowa F)
|
||||||
7. Eastern US (South Carolina D)
|
7. Eastern US (South Carolina B)
|
||||||
8. Western Europe (Belgium B)
|
8. Eastern US (South Carolina C)
|
||||||
9. Western Europe (Belgium C)
|
9. Eastern US (South Carolina D)
|
||||||
10. Western Europe (Belgium D)
|
10. Western Europe (Belgium B)
|
||||||
11. East Asia (Taiwan A)
|
11. Western Europe (Belgium C)
|
||||||
12. East Asia (Taiwan B)
|
12. Western Europe (Belgium D)
|
||||||
13. East Asia (Taiwan C)
|
13. East Asia (Taiwan A)
|
||||||
|
14. East Asia (Taiwan B)
|
||||||
|
15. East Asia (Taiwan C)
|
||||||
Please choose the number of your zone. Press enter for default (#8) zone.
|
Please choose the number of your zone. Press enter for default (#8) zone.
|
||||||
[8]: " -r region
|
[8]: " -r region
|
||||||
region=${region:-8}
|
region=${region:-8}
|
||||||
|
|
||||||
case "$region" in
|
case "$region" in
|
||||||
1) zone="us-central1-a" ;;
|
1) zone="us-west1-a" ;;
|
||||||
2) zone="us-central1-b" ;;
|
2) zone="us-west1-b" ;;
|
||||||
3) zone="us-central1-c" ;;
|
3) zone="us-central1-a" ;;
|
||||||
4) zone="us-central1-f" ;;
|
4) zone="us-central1-b" ;;
|
||||||
5) zone="us-east1-b" ;;
|
5) zone="us-central1-c" ;;
|
||||||
6) zone="us-east1-c" ;;
|
6) zone="us-central1-f" ;;
|
||||||
7) zone="us-east1-d" ;;
|
7) zone="us-east1-b" ;;
|
||||||
8) zone="europe-west1-b" ;;
|
8) zone="us-east1-c" ;;
|
||||||
9) zone="europe-west1-c" ;;
|
9) zone="us-east1-d" ;;
|
||||||
10) zone="europe-west1-d" ;;
|
10) zone="europe-west1-b" ;;
|
||||||
11) zone="asia-east1-a" ;;
|
11) zone="europe-west1-c" ;;
|
||||||
12) zone="asia-east1-b" ;;
|
12) zone="europe-west1-d" ;;
|
||||||
13) zone="asia-east1-c" ;;
|
13) zone="asia-east1-a" ;;
|
||||||
|
14) zone="asia-east1-b" ;;
|
||||||
|
15) zone="asia-east1-c" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
ROLES="gce vpn cloud"
|
ROLES="gce vpn cloud"
|
||||||
|
|
Loading…
Add table
Reference in a new issue