Blame SOURCES/readme-ifcfg-rh.txt

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