From 0aebeff3560e276fb7ee984b5362b80ad5873c0f Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Tue, 9 Jul 2024 09:50:15 -0700 Subject: [PATCH] docs: add missing backslashes Compute command missing backslashes for new lines Seq in for loop used incorrect numbering Signed-off-by: Justin Garrison --- .../v1.7/talos-guides/install/cloud-platforms/gcp.md | 8 ++++---- .../v1.8/talos-guides/install/cloud-platforms/gcp.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/website/content/v1.7/talos-guides/install/cloud-platforms/gcp.md b/website/content/v1.7/talos-guides/install/cloud-platforms/gcp.md index 754225bb1e..de3ac09207 100644 --- a/website/content/v1.7/talos-guides/install/cloud-platforms/gcp.md +++ b/website/content/v1.7/talos-guides/install/cloud-platforms/gcp.md @@ -135,18 +135,18 @@ We are now ready to create our GCP nodes. ```bash # Create the control plane nodes. -for i in $( seq 1 3 ); do +for i in $( seq 0 2 ); do gcloud compute instances create talos-controlplane-$i \ --image talos \ --zone $REGION-b \ --tags talos-controlplane \ --boot-disk-size 20GB \ - --metadata-from-file=user-data=./controlplane.yaml + --metadata-from-file=user-data=./controlplane.yaml \ --tags talos-controlplane-$i done # Add control plane nodes to instance group -for i in $( seq 1 3 ); do +for i in $( seq 0 2 ); do gcloud compute instance-groups unmanaged add-instances talos-ig \ --zone $REGION-b \ --instances talos-controlplane-$i @@ -157,7 +157,7 @@ gcloud compute instances create talos-worker-0 \ --image talos \ --zone $REGION-b \ --boot-disk-size 20GB \ - --metadata-from-file=user-data=./worker.yaml + --metadata-from-file=user-data=./worker.yaml \ --tags talos-worker-$i ``` diff --git a/website/content/v1.8/talos-guides/install/cloud-platforms/gcp.md b/website/content/v1.8/talos-guides/install/cloud-platforms/gcp.md index 754225bb1e..de3ac09207 100644 --- a/website/content/v1.8/talos-guides/install/cloud-platforms/gcp.md +++ b/website/content/v1.8/talos-guides/install/cloud-platforms/gcp.md @@ -135,18 +135,18 @@ We are now ready to create our GCP nodes. ```bash # Create the control plane nodes. -for i in $( seq 1 3 ); do +for i in $( seq 0 2 ); do gcloud compute instances create talos-controlplane-$i \ --image talos \ --zone $REGION-b \ --tags talos-controlplane \ --boot-disk-size 20GB \ - --metadata-from-file=user-data=./controlplane.yaml + --metadata-from-file=user-data=./controlplane.yaml \ --tags talos-controlplane-$i done # Add control plane nodes to instance group -for i in $( seq 1 3 ); do +for i in $( seq 0 2 ); do gcloud compute instance-groups unmanaged add-instances talos-ig \ --zone $REGION-b \ --instances talos-controlplane-$i @@ -157,7 +157,7 @@ gcloud compute instances create talos-worker-0 \ --image talos \ --zone $REGION-b \ --boot-disk-size 20GB \ - --metadata-from-file=user-data=./worker.yaml + --metadata-from-file=user-data=./worker.yaml \ --tags talos-worker-$i ```