Scrub real LAN addresses, MACs and name from docs and test fixtures
This commit is contained in:
parent
c9738358de
commit
3d0e4bd153
6 changed files with 20 additions and 20 deletions
10
README.md
10
README.md
|
|
@ -67,7 +67,7 @@ Inside an LXC you are root, so that's it. On another Linux machine in native mod
|
|||
Then connect AdGuard Home in `/opt/network-monitor/.env`:
|
||||
|
||||
```bash
|
||||
ADGUARD_URL=http://192.168.1.2:3000 # AdGuard Home's web UI address
|
||||
ADGUARD_URL=http://10.9.8.2:3000 # AdGuard Home's web UI address
|
||||
ADGUARD_USERNAME=admin
|
||||
ADGUARD_PASSWORD=...
|
||||
```
|
||||
|
|
@ -82,10 +82,10 @@ On the hub, open **Probes → Add probe** and give the probe a name. The hub sho
|
|||
|
||||
```bash
|
||||
# Linux host (Docker), an LXC as root (native, detected automatically), or macOS as your user
|
||||
curl -fsSL http://192.168.1.10:8000/install-probe.sh | HUB_URL=http://192.168.1.10:8000 PROBE_TOKEN=... bash
|
||||
curl -fsSL http://10.9.8.10:8000/install-probe.sh | HUB_URL=http://10.9.8.10:8000 PROBE_TOKEN=... bash
|
||||
|
||||
# Linux, native, not root
|
||||
curl -fsSL http://192.168.1.10:8000/install-probe.sh | sudo env HUB_URL=http://192.168.1.10:8000 PROBE_TOKEN=... bash
|
||||
curl -fsSL http://10.9.8.10:8000/install-probe.sh | sudo env HUB_URL=http://10.9.8.10:8000 PROBE_TOKEN=... bash
|
||||
```
|
||||
|
||||
The same installer is also at `https://git.neilbantoc.dev/services/network-monitor/raw/branch/main/install-probe.sh`.
|
||||
|
|
@ -118,10 +118,10 @@ To change the defaults, set these before `bash`:
|
|||
| `LXC_STORAGE` | `local-lvm`, else `local-zfs`, else the first container storage |
|
||||
| `LXC_TEMPLATE_STORAGE` | `local` |
|
||||
| `LXC_BRIDGE` | `vmbr0` |
|
||||
| `LXC_IP` | `dhcp`; a static address looks like `192.168.68.50/24` together with `LXC_GW=192.168.68.1` |
|
||||
| `LXC_IP` | `dhcp`; a static address looks like `10.9.8.50/24` together with `LXC_GW=10.9.8.1` |
|
||||
| `LXC_CORES`, `LXC_MEMORY`, `LXC_DISK` | `1`, `512`, `4` (GB) |
|
||||
|
||||
For example: `curl -fsSL .../install.sh | LXC_IP=192.168.68.50/24 LXC_GW=192.168.68.1 bash`.
|
||||
For example: `curl -fsSL .../install.sh | LXC_IP=10.9.8.50/24 LXC_GW=10.9.8.1 bash`.
|
||||
|
||||
Notes:
|
||||
- **`.local` names:** the installer runs Avahi in the container, so it answers at `<hostname>.local`. The hub's container is `netmon-hub`, so `http://netmon-hub.local`. The hub has the container to itself and listens on port 80, so no port is needed; pass `HOST_PORT` to choose another. Native installs inside an LXC you made yourself work the same way.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue