diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-11-23 17:21:02 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2015-12-07 09:11:06 +0100 |
commit | 9a0e4bae4720d45b8596f86c374a04d666490229 (patch) | |
tree | b7237a0e17f31bc4675f3a0115e35606ff8772de /man | |
parent | f28d311d13f2d87bb71078ad70b58d608e008166 (diff) | |
download | NetworkManager-9a0e4bae4720d45b8596f86c374a04d666490229.tar.gz |
cli: add 'nmcli connection import' (rh #1034105)
Synopsis:
nmcli connection import [--temporary] type <type> file <file to import>
Only VPN configurations can be imported at the moment.
https://bugzilla.redhat.com/show_bug.cgi?id=1034105
Diffstat (limited to 'man')
-rw-r--r-- | man/nmcli.1.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/man/nmcli.1.in b/man/nmcli.1.in index 6e8881b142..180dd1027b 100644 --- a/man/nmcli.1.in +++ b/man/nmcli.1.in @@ -816,6 +816,21 @@ then \fINetworkManager\fP will reload connection files any time they change Load/reload one or more connection files from disk. Use this after manually editing a connection file to ensure that \fBNetworkManager\fP is aware of its latest state. +.TP +.B import [--temporary] type <type> file <file to import> +.br +Import an external/foreign configuration as a NetworkManager connection profile. +The type of the input file is specified by \fItype\fP option. +.br +Only VPN configurations are supported at the moment. The configuration +is imported by NetworkManager VPN plugins. \fItype\fP values are the same as for +\fIvpn-type\fP option in \fBnmcli connection add\fP. VPN configurations are +imported by VPN plugins. Therefore the proper VPN plugin has to be installed +so that nmcli could import the data. +.br +The imported connection profile will be saved as persistent unless \fI--temporary\fP +option is specified, in which case the new profile won't exist after NetworkManager +restart. .RE .TP @@ -1187,6 +1202,10 @@ appends a Google public DNS server to DNS servers in ABC profile. .IP removes the specified IP address from (static) profile ABC. +.IP "\fB\f(CWnmcli con import type openvpn file ~/Downloads/frootvpn.ovpn\fP\fP" +.IP +imports an OpenVPN configuration to NetworkManager. + .SH NOTES \fInmcli\fP accepts abbreviations, as long as they are a unique prefix in the set of possible options. As new options get added, these abbreviations are not guaranteed |