J'ai un doute sur la spécificité version serveur, car je n'utilise que les versions serveur et je n'ai jamais vu ou eu de "connexion automatique" créée.
(même actuellement, ou alors je n'en ai pas le souvenir)
Il faudrait vérifier le contenu de /etc/NetworkManager/NetworkManager.conf
et s'il y a des fichiers dans: /etc/NetworkManager/conf.d , et: /usr/lib/NetworkManager/conf.d/
Sinon, comme indiqué dans ce blog:
https://blogs.gnome.org/dcbw/2015/02/16/networkmanager-for-administrators-part-1/ ,
il y a la possibilité de désactiver ce comportement en installant (paquet que je n'ai pas pourtant):
dnf install NetworkManager-config-server
Contenu du fichier: /usr/lib/NetworkManager/conf.d/00-server.conf
# This configuration file changes NetworkManager's behavior to
# what's expected on "traditional UNIX server" type deployments.
#
# See "man NetworkManager.conf" for more information about these
# and other keys.
[main]
# Do not do automatic (DHCP/SLAAC) configuration on ethernet devices
# with no other matching connections.
no-auto-default=*
# Ignore the carrier (cable plugged in) state when attempting to
# activate static-IP connections.
ignore-carrier=*
infos:
[main]
no-auto-default= (default empty)
By default, NetworkManager will create an in-memory DHCP connection for every Ethernet interface on your system, which ensures that you have connectivity when bringing a new system up or booting a live DVD. But that’s not ideal on large systems with many NICs, or on systems where you’d like to control initial network bring-up yourself. In that case, you should set this option to “*” to disable the auto-Ethernet behavior for all interfaces, indicating that you’d like to create explicit configuration instead. You can also use MAC addresses or interface names here too! On Fedora we’ve created a package called NetworkManager-config-server that sets this option to “*” by default.
EDIT:
l'adresse MAC de la carte réseau est marquée correctement dans le fichier ifcfg-xxx que tu crées ?
Si ce n'est pas le cas, c'est possible que ce soit le problème
Je dis ça à cause de cette ligne:
# Do not do automatic (DHCP/SLAAC) configuration on ethernet devices with no other matching connections.
Car si je la comprends bien, il l'a crée uniquement si NM ne trouve pas de configuration pour cette carte.