Quellcode durchsuchen

README: fix setconf example

Lucas Servén Marín vor 7 Jahren
Ursprung
Commit
5865cefbfa
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      README.md

+ 2 - 1
README.md

@@ -99,7 +99,8 @@ EOF
 This configuration can then be applied to a local WireGuard interface, e.g. `wg0`, with the help of the `kgctl` tool:
 
 ```shell
-sudo wg setconf wg0 <(kgctl showconf peer squat)
+kgctl --kubeconfig=$KUBECONFIG showconf peer squat > peer.ini
+sudo wg setconf wg0 peer.ini
 ```
 
 [See the VPN docs for more details](./docs/vpn.md).