1
0
forked from clan/clan-core

Merge pull request 'documentation: improve legibility of command output' (#1423) from a-kenji-fix/lsblk into main

This commit is contained in:
clan-bot 2024-05-24 10:40:34 +00:00
commit 8c36df77cc
4 changed files with 10 additions and 10 deletions

View File

@ -59,7 +59,7 @@ Adding or configuring a new machine requires two simple steps:
Which should show something like:
```bash hl_lines="6"
```{.shellSession hl_lines="6" .no-copy}
NAME ID-LINK FSTYPE SIZE MOUNTPOINT
sda usb-ST_16GB_AA6271026J1000000509-0:0 14.9G
├─sda1 usb-ST_16GB_AA6271026J1000000509-0:0-part1 1M

View File

@ -52,7 +52,7 @@ This process involves preparing a suitable hardware and disk partitioning config
This is an example of the booted installer.
```{ .bash .annotate .no-copy }
```{ .bash .annotate .no-copy .nohighlight}
┌─────────────────────────────────────────────────────────────────────────────────────┐
│ ┌───────────────────────────┐ │
│ │███████████████████████████│ # This is the QR Code (1) │
@ -151,7 +151,7 @@ Clan CLI enables you to remotely update your machines over SSH. This requires se
### Setting the Target Host
Replace `root@jon` with the actual hostname or IP address of your target machine:
```nix hl_lines="9"
```{.nix hl_lines="9" .no-copy}
buildClan {
# ...
machines = {
@ -192,7 +192,7 @@ it is also possible to specify a build host instead.
During an update, the cli will ssh into the build host and run `nixos-rebuild` from there.
```nix hl_lines="5"
```{.nix hl_lines="5" .no-copy}
buildClan {
# ...
machines = {
@ -208,7 +208,7 @@ buildClan {
To exclude machines from being updated when running `clan machines update` without any machines specified,
one can set the `clan.deployment.requireExplicitUpdate` option to true:
```nix hl_lines="5"
```{.nix hl_lines="5" .no-copy}
buildClan {
# ...
machines = {

View File

@ -22,7 +22,7 @@ Follow our step-by-step guide to create and transfer this image onto a bootable
lsblk
```
```shellSession hl_lines="2"
```{.shellSession hl_lines="2" .no-copy}
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sdb 8:0 1 117,2G 0 disk
└─sdb1 8:1 1 117,2G 0 part /run/media/qubasa/INTENSO
@ -123,7 +123,7 @@ This will enter `iwd`
Now run the following command to connect to your Wifi:
```shellSession
```{.shellSession .no-copy}
# Identify your network device.
device list
@ -161,4 +161,4 @@ You're all set up
- [Configure Machines](configure.md): Customize machine configuration
---
---

View File

@ -9,7 +9,7 @@ include a new machine into the VPN.
By default all machines within one clan are connected via a chosen network technology.
```
```{.no-copy}
Clan
Node A
<-> (zerotier / mycelium / ...)
@ -36,7 +36,7 @@ peers. Once addresses are allocated, the controller's continuous operation is no
```
3. **Update the Controller Machine**: Execute the following:
```bash
$ clan machines update <CONTROLLER>
clan machines update <CONTROLLER>
```
Your machine is now operational as the VPN controller.