blob: 63c7f294feb19e36c15b089d2038dc3c2831addf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Rocky VM Overview
The `rocky` VM's role and host/IP details are in the skill's [`SKILL.md`](../SKILL.md);
this reference covers the setup detail (SSH keys, tooling, privileges, replication).
## SSH Keys
| Key | Path | Purpose |
|-----|------|---------|
| Root VM key | `/root/.ssh/id_ed25519` | Git server SSH auth |
| Paul VM key | `/home/paul/.ssh/id_ed25519` | Git server SSH auth, local remotes |
The public keys are added to the k3s `git-server-authorized-keys` secret (namespace `cicd`) so both `root` and `paul` can push/pull via `git@r{N}:30022`.
```sh
# Regenerate if needed
ssh-keygen -t ed25519 -N '' -f /root/.ssh/id_ed25519 -C 'root@rocky.f3s.lan.buetow.org'
```
## /etc/hosts
Short LAN aliases for all f3s hosts (short, `.lan`, and `.lan.buetow.org` variants):
```
# f3s k3s node LAN aliases
192.168.1.120 r0 r0.lan r0.lan.buetow.org
192.168.1.121 r1 r1.lan r1.lan.buetow.org
192.168.1.122 r2 r2.lan r2.lan.buetow.org
# f3s FreeBSD host LAN aliases
192.168.1.130 f0 f0.lan f0.lan.buetow.org
192.168.1.131 f1 f1.lan f1.lan.buetow.org
192.168.1.132 f2 f2.lan f2.lan.buetow.org
192.168.1.133 f3 f3.lan f3.lan.buetow.org
# f3s Raspberry Pi LAN aliases
192.168.1.125 pi0 pi0.lan pi0.lan.buetow.org
192.168.1.126 pi1 pi1.lan pi1.lan.buetow.org
192.168.1.127 pi2 pi2.lan pi2.lan.buetow.org
192.168.1.128 pi3 pi3.lan pi3.lan.buetow.org
```
|