]> Cypherpunks.ru repositories - govpn.git/blobdiff - utils/newclient.sh
Use YAML instead of JSON for server configuration file
[govpn.git] / utils / newclient.sh
index 2c2a811e49aeb5863ecc763d9b4aa56d94ac4ea4..44c7ef5e977c044a369a26ad1c1ce185dcaad996 100755 (executable)
@@ -6,7 +6,7 @@ PATH=$PATH:.
     cat <<EOF
 Example script for creating new user peer for GoVPN.
 It asks for passphrase, generates verifier and shows you example
-JSON entry for server configuration.
+YAML entry for server configuration.
 
 Usage: $0 <username>
 EOF
@@ -26,13 +26,12 @@ echo
 cat <<EOF
 Your client verifier is: $verifierC
 
-Place the following JSON configuration entry on the server's side:
+Place the following YAML configuration entry on the server's side:
 
-    "$username": {
-        "up": "/path/to/up.sh",
-        "iface": "or TAP interface name",
-        "verifier": "$verifierS"
-    }
+    $username:
+        up: /path/to/up.sh
+        iface: or TAP interface name
+        verifier: $verifierS
 
 Verifier was generated with: