summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2022-03-14 13:42:09 +0100
committerLubomir Rintel <lkundrak@v3.sk>2022-03-28 14:59:30 +0200
commit1aa9c80b9bfdb2131e30477db6de18a05699b1bf (patch)
tree2673b1d6c00eeedc3b8a490a53a508db4af2ea1e /man
parentc7ab380a5cbcf22d943df2ea866649dba97c2806 (diff)
downloadNetworkManager-1aa9c80b9bfdb2131e30477db6de18a05699b1bf.tar.gz
cli: add "connection migrate" subcommandlr/conn-migrate
This is used to move a connection to a different settings plugin.
Diffstat (limited to 'man')
-rw-r--r--man/nmcli.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/man/nmcli.xml b/man/nmcli.xml
index fabb590f24..d4f27b0b37 100644
--- a/man/nmcli.xml
+++ b/man/nmcli.xml
@@ -659,6 +659,7 @@
<arg choice='plain'><command>load</command></arg>
<arg choice='plain'><command>import</command></arg>
<arg choice='plain'><command>export</command></arg>
+ <arg choice='plain'><command>migrate</command></arg>
</group>
<arg rep='repeat'><replaceable>ARGUMENTS</replaceable></arg>
</cmdsynopsis>
@@ -1312,6 +1313,40 @@
data will be printed to standard output.</para>
</listitem>
</varlistentry>
+
+ <varlistentry>
+ <term>
+ <command>migrate</command>
+ <arg>
+ <option>--plugin</option>
+ <arg choice='plain' rep='repeat'><replaceable>plugin</replaceable></arg>
+ </arg>
+ <group>
+ <arg choice='plain'><option>id</option></arg>
+ <arg choice='plain'><option>uuid</option></arg>
+ <arg choice='plain'><option>path</option></arg>
+ </group>
+ <arg rep='repeat'><replaceable>ID</replaceable></arg>
+ </term>
+ <listitem>
+ <para>Migrate connection profiles to a different settings plugin, such
+ as <literal>keyfile</literal> (default) or <literal>ifcfg-rh</literal>.</para>
+
+ <para>The connection to be migrated is identified by its name, UUID or D-Bus path.
+ If <replaceable>ID</replaceable> is ambiguous, a keyword <option>id</option>,
+ <option>uuid</option> or <option>path</option> can be used. See <command>connection
+ show</command> above for the description of the
+ <replaceable>ID</replaceable>-specifying keywords.</para>
+
+ <para>If no connections are specified, the command acts on all available
+ connections. Therefore, with no arguments, the command migrates all connection
+ profiles to the <literal>keyfile</literal> plugin.</para>
+
+ <para>If <option>--wait</option> option is not specified, the default timeout will be 10
+ seconds.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>