Commit 2243b133 changed the syntax of the gnt-network command.
Mode and link are no longer passed as positional arguments, but
instead as named parameters in the --nic-parameters option.
However, the example in the admin page was not updated. Do this
now.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 doc/admin.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/admin.rst b/doc/admin.rst
index 30c5e8b..fbe4db4 100644
--- a/doc/admin.rst
+++ b/doc/admin.rst
@@ -869,7 +869,7 @@ to NIC configuration scripts and hooks via environment 
variables.
 To make this network available on a nodegroup you should specify the
 connectivity mode and link during connection::
 
-  # gnt-network connect test bridged br100 default nodegroup1
+  # gnt-network connect --nic-parameters mode=bridged,link=br100 test default 
nodegroup1
 
 To add a NIC inside this network::
 
-- 
2.4.3.573.g4eafbef

Reply via email to