Skip to content

Commit

Permalink
Update readme to reflect new workflow for making workstations (#52)
Browse files Browse the repository at this point in the history
* Update readme to reflect new workflow for making workstations

cc @dalvarado

* Update README.md
  • Loading branch information
MerricdeLauney authored Mar 8, 2023
1 parent 0724ea4 commit 7c96984
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ Hello there! This repo is intended to provide light-weight setup to developing o
```

You can now set up by doing the following:
1. create gcp machine `gcloud compute instances create capi-ws-michael --zone "us-central1-a" --project "cf-capi-arya" --boot-disk-size=50GB --boot-disk-type=pd-balanced --machine-type=e2-standard-8 --tags=workstations --image-family=ubuntu-2204-lts --image-project=ubuntu-os-cloud`
1. ssh onto said machine `gcloud compute ssh --zone "us-central1-a" "pivotal@capi-ws-michael" --project "cf-capi-arya" --ssh-flag="-A"`
1. babysiting `set-up-new-machine.sh` while it maybe runs
1. run `source ~/.$(basename $SHELL)rc` if you don't bother to restart the shell in order to get the things added to it (chruby, cf cli that's built from source code)
1. when you're done delete you gcp machine `gcloud compute instances delete capi-ws-michael --zone "us-central1-a" --project "cf-capi-arya" -q`
1. create gcp machine `gcloud compute instances create capi-ws-<your-ws-name> --zone 'us-central1-a' --source-machine-image 'capi-ws-image-latest' --project 'cf-capi-arya'`
1. ssh onto said machine `gcloud compute ssh --zone "us-central1-a" "pivotal@capi-ws-<your-ws-name>" --project "cf-capi-arya" --ssh-flag="-A"`
1. when you're done delete you gcp machine `gcloud compute instances delete capi-ws-<your-ws-name> --zone "us-central1-a" --project "cf-capi-arya" -q`

**Make sure you ssh in as the "pivotal" user**

Expand Down

0 comments on commit 7c96984

Please sign in to comment.