Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Commit

Permalink
Merge pull request #3 from masrodjie/master
Browse files Browse the repository at this point in the history
Update README.md and GCE deprecated syntax
  • Loading branch information
dothebart authored Oct 17, 2016
2 parents 7aa5d7f + b066660 commit 4dbaaba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ and restart your shell or terminal. Then use gcloud tool for authentication:
```sh
$ gcloud auth login
```
... set your proect-id:
... set your project-id:
```sh
$ gcloud config set project "your-project-id"
```
... and set your zone:
```sh
$ gcloud config set zone "your-desired-zone"
$ gcloud config set compute/zone "your-desired-zone"
```
Please use this command to list all available zones:
```sh
Expand Down
4 changes: 2 additions & 2 deletions platformGCE/GoogleComputeEngine_ArangoDB_Cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,12 @@ fi
function createMachine () {
echo "creating machine $PREFIX$1"
if [ $1 -le $NRDBSERVERS ] ; then
INSTANCE=`gcloud compute instances create --image coreos --zone "$ZONE" \
INSTANCE=`gcloud compute instances create --image-family=coreos-stable --image-project=coreos-cloud --zone "$ZONE" \
--tags "${PREFIX}tag" --machine-type "$MACHINE_TYPE" \
"$PREFIX$1" --local-ssd device-name=local-ssd \
| grep "^$PREFIX"`
else
INSTANCE=`gcloud compute instances create --image coreos --zone "$ZONE" \
INSTANCE=`gcloud compute instances create --image-family=coreos-stable --image-project=coreos-cloud --zone "$ZONE" \
--tags "${PREFIX}tag" --machine-type "$MACHINE_TYPE_C" \
"$PREFIX$1" | grep "^$PREFIX"`
fi
Expand Down

0 comments on commit 4dbaaba

Please sign in to comment.