Skip to content

Commit

Permalink
docs: ensure azure VMs are 0 indexed
Browse files Browse the repository at this point in the history
This PR makes sure that azure VMs are zero indexed for consistency with
the way that NICs and IPs are generated earlier in the docs. I'm not
quite sure why we went with `seq( 0 1 2 )` instead of `seq( 0 2 )`, but
I kept the sequences the same for consistency.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
  • Loading branch information
rsmitty committed Aug 17, 2021
1 parent c601dc7 commit 5ce92ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/content/docs/v0.11/Cloud Platforms/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ az vm availability-set create \
-g $GROUP

# Create the controlplane nodes
for i in $( seq 1 3 ); do
for i in $( seq 0 1 2 ); do
az vm create \
--name talos-controlplane-$i \
--image talos \
Expand Down
2 changes: 1 addition & 1 deletion website/content/docs/v0.12/Cloud Platforms/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ az vm availability-set create \
-g $GROUP

# Create the controlplane nodes
for i in $( seq 1 3 ); do
for i in $( seq 0 1 2 ); do
az vm create \
--name talos-controlplane-$i \
--image talos \
Expand Down

0 comments on commit 5ce92ca

Please sign in to comment.