Skip to content

Commit

Permalink
comments, re-indents, etc (nothing substantitive)
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 23, 2024
1 parent 4bdcbc7 commit 2341fdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ nom-tunnel () {

## Add more Virtual Machines to make a HinD cluster
The process is very similar to when you setup your first VM.
This time, you pass in the first VM's hostname (already in cluster), some environment variables,
and run the shell commands below on your 2nd (or 3rd, etc.) VM.
This time, you pass in the first VM's hostname (already in cluster), copy 2 secrets,
and run the installer.
You essentially run the shell commands below on your 2nd (or 3rd, etc.) VM.

```sh
FIRST=vm1.example.com
set -u
# copy secrets from $FIRST to this VM
ssh $FIRST 'sudo podman run --rm --secret HIND_C,type=env hind sh -c "echo -n \$HIND_C"' |sudo podman secret create HIND_C -
ssh $FIRST 'sudo podman run --rm --secret HIND_N,type=env hind sh -c "echo -n \$HIND_N"' |sudo podman secret create HIND_N -
Expand Down

0 comments on commit 2341fdb

Please sign in to comment.