Originally posted by mroche
View Post
Announcement
Collapse
No announcement yet.
Red Hat Enterprise Linux 9.0 Beta Released
Collapse
X
-
Originally posted by mroche View PostGraysonPeddie Take a look through the release notes doc to see what is deprecated and what is new. Overall, it's not a big change at all. One example of a change is in the networking stack, you can't use network-scripts anymore (e.g. ifcfg-<name>). You need to know how to configure things with NetworkManager and how it handles things in /etc/NetworkManager.
Cheers,
Mike
Comment
-
Originally posted by kylew77 View Post
I have no idea how to do that. I work for a CentOS 6 and 7 shop and we do all the IP config from /etc/sysconfig/network-scripts/ifcfg-em1
I can't speak for 6, but unless you explicitly disabled NetworkManager in 7 and tell the network-scripts to not be NM managed, you've been using NetworkManager under the hood (NM would generate and read ifcfg files for legacy compatbility). The RHEL docs should be a decent primer in getting started with NetworkManager, nmcli, and other tooling. Just note the beta docs are probably going to change a fair amount as noted on the second page, so you can use previous RHEL versions (like 8). Otherwise, just discount any reference to network-scripts.
NetworkManager is actually pretty easy to use in my experience, but like anything you need to see how your use case is affected by it. You can still technically use tools like ip to manage interfaces, but they operate independently of NM and you can't rely on NM tooling to report things correctly at that point.
Cheers,
MikeLast edited by mroche; 04 November 2021, 12:42 AM.
- Likes 1
Comment
-
I've passed RHCSA8 and it already had NetworkManager in the main study materials. In the exam I used nmtui cause I'm too lazy to waste time checking syntax on a one time config.
Also look at this quote in the Red Hat page:
RHEL 9 Beta is something of a departure from previous major releases of RHEL. While it contains many improvements and enhancements customers have asked for, it has fewer changes that require admins and IT Ops to learn new ways of doing things. Familiar with RHEL 8? Then RHEL 9 Beta will help you feel right at home but with some welcome improvements and new features.
- Likes 1
Comment
-
kylew77 I should make an amendment to my statement earlier. From the docs:
NetworkManager stores new network configurations to /etc/NetworkManager/system-connections/ in a keyfile format
Previously, NetworkManager stored new network configurations to /etc/sysconfig/network-scripts/ in the ifcfg format. Starting with RHEL 9.0, RHEL stores new network configurations at /etc/NetworkManager/system-connections/ in a keyfile format. The connections for which the configurations are stored to /etc/sysconfig/network-scripts/ in the old format still work uninterrupted. Modifications in existing profiles continue updating the older files.
(BZ#1894877)
Cheers,
Mike
Comment
-
Originally posted by abu_shawarib View PostI've passed RHCSA8 and it already had NetworkManager in the main study materials. In the exam I used nmtui cause I'm too lazy to waste time checking syntax on a one time config.
Also look at this quote in the Red Hat page:
- Likes 1
Comment
-
Originally posted by pegasus View PostHow are various config managers (ansible, puppet, etc) happy with this transition to NM only? From what I've seen most of them have been writing out ifcfg style files and relying on OS to pick them up.
NetworkManager handles parsing the old ifcfg format and has bidirectional support (ie. you can edit connections with nmcli without issues). Technically speaking, it's not 100% backwards compatible because in RHEL6 and RHEL7 you could do crazy things like include shell code in the files, but I am not sad to see that particular functionality go.
- Likes 1
Comment
Comment