-
Notifications
You must be signed in to change notification settings - Fork 23
Closed
Milestone
Description
On Alma Linux 9 contextualization sets variable NETWORKING=no in /etc/sysconfig/networking, use of ifcfg scripts is deprecated and setting this variable is not necessary. Moreover, in our use case, this variable misleads other software, that checks this (deprecated) variable to determine if system has networking configured.
I would suggest to change following line of code, which checks for existance of directory/etc/sysconfig/network-scripts/
| if [ -d /etc/sysconfig/network-scripts/ ]; then |
to use same method as in netcfg-scripts
| if [ -x /etc/sysconfig/network-scripts/ifup ]; then |
This directory still exists, because it contains file describing depreciation of scripts configuration method /etc/sysconfig/network-scripts/readme-ifcfg-rh.txt.
This change in the one-context.d/loc-10-network.d/functions would skip setting this variable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels