-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-10.0.beta
-
No
-
Low
-
1
-
rhel-net-mgmt
-
ssg_networking
-
None
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
NMT SST - Refine next
-
-
None
-
None
-
-
All
-
None
What were you trying to do that didn't work?
When we try to use migrate-ifcfg-rh option, it does not work in RHEL 10
I think this is because now we do not have ifcfg-rh plugin and /etc/sysconfig/network-scripts directory is missing so I think migrate-ifcfg-rh may be not needed.
- ls -lh /etc/sysconfig/network*
rw-rr-. 1 root root 30 Sep 13 00:56 /etc/sysconfig/network
If I create purposefully ifcfg-* file (/etc/sysconfig/network-scripts/ifcfg-enp7s0), after reboot it was not migrated.
# nmcli connection migrate /etc/sysconfig/network-scripts/ifcfg-enp7s0
Error: unknown connection '/etc/sysconfig/network-scripts/ifcfg-enp7s0'.
Error: cannot migrate unknown connection(s): '/etc/sysconfig/network-scripts/ifcfg-enp7s0'.
One more thing I notice is, even if we have files under system-connections , when we run "nmcli con migrate" it says files migrated, but that is not needed as they are already in "system-connections"
- nmcli -f filename,uuid,name,device con s
FILENAME UUID NAME DEVICE
/etc/NetworkManager/system-connections/enp1s0.nmconnection 70d862ca-6888-4c77-906a-de24644cb948 enp1s0 enp1s0
/run/NetworkManager/system-connections/lo.nmconnection 0b08deda-77f0-4179-a4e2-cfd0337acba8 lo lo
- nmcli connection migrate
Connection 'enp1s0' (70d862ca-6888-4c77-906a-de24644cb948) successfully migrated.
Connection 'lo' (0b08deda-77f0-4179-a4e2-cfd0337acba8) successfully migrated.
- nmcli -f filename,uuid,name,device con s
FILENAME UUID NAME DEVICE
/etc/NetworkManager/system-connections/enp1s0.nmconnection 70d862ca-6888-4c77-906a-de24644cb948 enp1s0 enp1s0
/run/NetworkManager/system-connections/lo.nmconnection 0b08deda-77f0-4179-a4e2-cfd0337acba8 lo lo
As ifcfg-rh is removed, should not we remove "nmcli con migrate" and "migrate-ifcfg-rh" ?