Switch editing instructions from vim to nano and use kbd for keys
This commit is contained in:
@@ -208,10 +208,10 @@ sudo cp ~/wg0.conf /docker/wireguard/config/wg_confs
|
||||
Create `compose.yaml` in `/docker/wireguard`:
|
||||
|
||||
```sh
|
||||
sudo vi /docker/wireguard/compose.yaml
|
||||
sudo nano /docker/wireguard/compose.yaml
|
||||
```
|
||||
|
||||
Press `i` to enter insert mode and paste:
|
||||
Paste:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
@@ -233,7 +233,7 @@ services:
|
||||
restart: unless-stopped
|
||||
```
|
||||
|
||||
Press `Esc` then type `:x` to save and exit.
|
||||
Press :kbd{value="Ctrl+O"}, then :kbd{value="Enter"} to save, and :kbd{value="Ctrl+X"} to exit.
|
||||
|
||||
Start the container:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user