Why are scripts under /etc/sysconfig/network-scripts directory are gone on rhel8/rhel9?

Solution Verified - Updated -

Issue

  • Why are scripts under /etc/sysconfig/network-scripts directory gone in rhel8/9?
  • How to install scripts under /etc/sysconfig/network-scripts directory in rhel8/9?
  • Why are files in /etc/sysconfig/network-scripts ignored? Where are interface configs now?
  • My directory /etc/sysconfig/network-scripts is empty, but apparently from somewhere my system is picking up network interface configs?
  • I changed a config in an ifcfg-file in directory /etc/sysconfig/network-scripts, why are these changes apparently ignored by the system?

Environment

  • Red Hat Enterprise Linux (RHEL) 8 and 9
  • NetworkManager, version 1.22.8 and later
  • ifcfg-rh scripts
  • keyfile
  • ifcfg

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content