Skip to content
Snippets Groups Projects
Unverified Commit 3fce6a68 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

docs: fix recommended command line to generate site seed

Without -v, hexdump would sometimes replace duplicate bytes with "*" and
a newline.
parent 94e7827a
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
-- 32 bytes of random data, encoded in hexacimal -- 32 bytes of random data, encoded in hexacimal
-- Must be the same of all nodes in one mesh domain -- Must be the same of all nodes in one mesh domain
-- Can be generated using: echo $(hexdump -n 32 -e '1/1 "%02x"' </dev/urandom) -- Can be generated using: echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
site_seed = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', site_seed = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
-- Prefixes used within the mesh. -- Prefixes used within the mesh.
......
...@@ -30,7 +30,7 @@ site_seed ...@@ -30,7 +30,7 @@ site_seed
The recommended way to generate a value for a new site is: The recommended way to generate a value for a new site is:
:: ::
echo $(hexdump -n 32 -e '1/1 "%02x"' </dev/urandom) echo $(hexdump -v -n 32 -e '1/1 "%02x"' </dev/urandom)
prefix4 \: optional prefix4 \: optional
The IPv4 Subnet of your community mesh network in CIDR notation, e.g. The IPv4 Subnet of your community mesh network in CIDR notation, e.g.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment