|
|
|
@ -13,8 +13,8 @@ algo_provisioning () {
|
|
|
|
|
What provider would you like to use?
|
|
|
|
|
1. DigitalOcean
|
|
|
|
|
2. Amazon EC2
|
|
|
|
|
3. Google-cloud
|
|
|
|
|
0. Local installation (non-cloud or a server already deployed)
|
|
|
|
|
3. Google Cloud Engine
|
|
|
|
|
4. Remote installation (install to existing Ubuntu server)
|
|
|
|
|
|
|
|
|
|
Enter the number of your desired provider
|
|
|
|
|
: "
|
|
|
|
@ -22,12 +22,12 @@ Enter the number of your desired provider
|
|
|
|
|
read N
|
|
|
|
|
|
|
|
|
|
case "$N" in
|
|
|
|
|
1) CLOUD="digitalocean" ;;
|
|
|
|
|
1) CLOUD="digitalocean" ;;
|
|
|
|
|
2) CLOUD="ec2" ;;
|
|
|
|
|
3) CLOUD="google_cloud" ;;
|
|
|
|
|
0) CLOUD="non-cloud" ;;
|
|
|
|
|
3) CLOUD="gce" ;;
|
|
|
|
|
4) CLOUD="non-cloud" ;;
|
|
|
|
|
*) exit 1 ;;
|
|
|
|
|
esac
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
p12_export_password
|
|
|
|
|
|
|
|
|
@ -43,6 +43,3 @@ case "$1" in
|
|
|
|
|
update-users) user_management ;;
|
|
|
|
|
*) algo_provisioning ;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|