aa84e8
NetworkManager stores new network profiles in keyfile format in the
aa84e8
/etc/NetworkManager/system-connections/ directory.
aa84e8
aa84e8
Previously, NetworkManager stored network profiles in ifcfg format
aa84e8
in this directory (/etc/sysconfig/network-scripts/). However, the ifcfg
aa84e8
format is deprecated. By default, NetworkManager no longer creates
aa84e8
new profiles in this format.
aa84e8
aa84e8
Connection profiles in keyfile format have many benefits. For example,
aa84e8
this format is INI file-based and can easily be parsed and generated.
aa84e8
aa84e8
Each section in NetworkManager keyfiles corresponds to a NetworkManager
aa84e8
setting name as described in the nm-settings(5) and nm-settings-keyfile(5)
aa84e8
man pages. Each key-value-pair in a section is one of the properties
aa84e8
listed in the settings specification of the man page.
aa84e8
aa84e8
If you still use network profiles in ifcfg format, consider migrating
aa84e8
them to keyfile format. To migrate all profiles at once, enter:
aa84e8
aa84e8
# nmcli connection migrate
aa84e8
aa84e8
This command migrates all profiles from ifcfg format to keyfile
aa84e8
format and stores them in /etc/NetworkManager/system-connections/.
aa84e8
aa84e8
Alternatively, to migrate only a specific profile, enter:
aa84e8
aa84e8
# nmcli connection migrate <profile_name|UUID|D-Bus_path>
aa84e8
aa84e8
For further details, see:
aa84e8
* nm-settings-keyfile(5)
aa84e8
* nmcli(1)