Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme to reflect new workflow for making workstations #52

Merged
merged 2 commits into from
Mar 8, 2023
Merged
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
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