From 2d9fd99547c3334065941c3d559a3b1878eb6d49 Mon Sep 17 00:00:00 2001 From: MerricdeLauney Date: Mon, 6 Mar 2023 12:35:11 -0800 Subject: [PATCH 1/2] Update readme to reflect new workflow for making workstations cc @dalvarado --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e1265e3..b0a83ef 100644 --- a/README.md +++ b/README.md @@ -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- --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-" --project "cf-capi-arya" --ssh-flag="-A"` +1. when you're done delete you gcp machine `gcloud compute instances delete capi-ws- --zone "us-central1-a" --project "cf-capi-arya" -q` **Make sure you ssh in as the "pivotal" user** From 748a19fc1a3f40d5043657b4ab37e65f3a11093e Mon Sep 17 00:00:00 2001 From: MerricdeLauney Date: Mon, 6 Mar 2023 13:49:29 -0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b0a83ef..50269c6 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ 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- --zone 'us-central1-a' --source-machine-image 'capi-ws-image-latest' --project 'cf-capi-arya` +1. create gcp machine `gcloud compute instances create capi-ws- --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-" --project "cf-capi-arya" --ssh-flag="-A"` 1. when you're done delete you gcp machine `gcloud compute instances delete capi-ws- --zone "us-central1-a" --project "cf-capi-arya" -q`