Almalinux-nfv.repo issue

Fresh image install of Ionos dedicated server with Plesk and AlmaLinux 10. When I run dnf update, I get this warning:

Warning: failed loading '/etc/yum.repos.d/almalinux-nfv.repo', skipping.

When I look at the repo, I get this:

[root@7528B12 ~]# cat /etc/yum.repos.d/almalinux-nfv.repo
# baseurl=https://repo.almalinux.org/almalinux/$releasever/NFV/$basearch/os/
baseurl=https://us.mirror.ionos.com/linux/distributions/almalinux/$releasever/NFV/$basearch/os/
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=0

[nfv-debuginfo]
name=AlmaLinux $releasever - NFV - Debug
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/nfv-debug
# baseurl=https://vault.almalinux.org/$releasever/NFV/debug/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=0

[nfv-source]
name=AlmaLinux $releasever - NFV - Source
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/nfv-source
# baseurl=https://vault.almalinux.org/$releasever/NFV/Source/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=0

I’m not exactly sure what I am looking at except Ionos has replaced the baseurl with their own mirror. Could it be that is not a valid source url? I hope someone can educate me on what is wrong here.

On plain Alma 10 v2 system the first entry in the file reads:

[nfv]
name=AlmaLinux $releasever - NFV
mirrorlist=https://mirrors.almalinux.org/mirrorlist/$releasever/nfv?arch=x86_64_v2
# baseurl=https://repo.almalinux.org/almalinux/$releasever/NFV/x86_64_v2/os/
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=0

You do show:

# baseurl=https://repo.almalinux.org/almalinux/$releasever/NFV/$basearch/os/
baseurl=https://us.mirror.ionos.com/linux/distributions/almalinux/$releasever/NFV/$basearch/os/
enabled=0
gpgcheck=1
countme=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux-10
metadata_expire=86400
enabled_metadata=0

like you would be missing:

[nfv]
name=...

Thanks, I didn’t notice that. I put it in but the same error occurs.

UPDATE
I made a mistake in modifying that file (forgot the [nfv]). Now the error is gone, all the packages update and the latest kernel installed without panic on reboot. It turns out the Ionos image was modified and so poorly done, they wiped those two first lines. Typical for them. They are pretty awful.

Thanks so much for the sharp eyes.