chg: Hostnames In Documentation

Changed server to controlplane and node-0 to node01, and node-1 to
node02 in the documentation.

Also started reformatting to limit lines to 80 characters.

Added a section on how to enable to root account for login.
This commit is contained in:
Khalifah Shabazz
2025-06-01 22:33:01 -04:00
parent 52a56e1a1d
commit 7945e68d92
8 changed files with 176 additions and 98 deletions

View File

@@ -15,10 +15,10 @@ Print the internal IP address and Pod CIDR range for each worker instance:
```bash
{
SERVER_IP=$(grep server machines.txt | cut -d " " -f 1)
NODE_0_IP=$(grep node-0 machines.txt | cut -d " " -f 1)
NODE_0_SUBNET=$(grep node-0 machines.txt | cut -d " " -f 4)
NODE_1_IP=$(grep node-1 machines.txt | cut -d " " -f 1)
NODE_1_SUBNET=$(grep node-1 machines.txt | cut -d " " -f 4)
NODE_0_IP=$(grep node01 machines.txt | cut -d " " -f 1)
NODE_0_SUBNET=$(grep node01 machines.txt | cut -d " " -f 4)
NODE_1_IP=$(grep node02 machines.txt | cut -d " " -f 1)
NODE_1_SUBNET=$(grep node02 machines.txt | cut -d " " -f 4)
}
```
@@ -30,13 +30,13 @@ EOF
```
```bash
ssh root@node-0 <<EOF
ssh root@node01 <<EOF
ip route add ${NODE_1_SUBNET} via ${NODE_1_IP}
EOF
```
```bash
ssh root@node-1 <<EOF
ssh root@node02 <<EOF
ip route add ${NODE_0_SUBNET} via ${NODE_0_IP}
EOF
```
@@ -55,7 +55,7 @@ XXX.XXX.XXX.0/24 dev ens160 proto kernel scope link src XXX.XXX.XXX.XXX
```
```bash
ssh root@node-0 ip route
ssh root@node01 ip route
```
```text
@@ -65,7 +65,7 @@ XXX.XXX.XXX.0/24 dev ens160 proto kernel scope link src XXX.XXX.XXX.XXX
```
```bash
ssh root@node-1 ip route
ssh root@node02 ip route
```
```text